PDFAnnotationBorder¶
Namespace: O2S.Components.PDF4NET.Annotations
Defines the border for various annotations.
Inheritance Object → PDFAnnotationBorder
Constructors¶
PDFAnnotationBorder()¶
Initializes a new PDFAnnotationBorder object.
Properties¶
Color¶
Gets or sets the border color.
Property Value
PDFColor
A PDFColor specifying the border color with which to stroke the annotation's border.
Exceptions
ArgumentOutOfRangeException
Thrown when the property is set to a color other than Gray, RGB or CMYK.
DashPattern¶
Gets or sets the array that represents the dash pattern when the PDFAnnotationBorder.Style property is set to PDFAnnotationBorderStyle.Dashed.
Property Value
Style¶
Gets or sets the annotation border style.
Property Value
PDFAnnotationBorderStyle
A PDFAnnotationBorderStyle enum specifying the style of the annotation border.
Width¶
Gets or sets the border width.
Property Value
Double
The width of the square outline drawn in the annotation.
Exceptions
ArgumentOutOfRangeException
Thrown when this property is set to a negative value.