Sets the color and opacity for this border.
Namespace:
BitMiracle.Docotic.Pdf.Layout
Assembly:
BitMiracle.Docotic.Pdf.Layout (in BitMiracle.Docotic.Pdf.Layout.dll)
Syntax
C#
public Border Color(
PdfColor color,
int opacity = 100
)
VB
Public Function Color (
color As PdfColor,
Optional opacity As Integer = 100
) As Border
Parameters
- color
- Type: BitMiracle.Docotic.Pdf.PdfColor
The border color. - opacity (Optional)
- Type: System.Int32
The opacity value between 0 (fully transparent) and 100 (fully opaque).
Return Value
Type:
BorderThe updated border.
Exceptions
See Also