Class AnnotationBorder
- Namespace
- UglyToad.PdfPig.Annotations
- Assembly
- UglyToad.PdfPig.dll
A border for a PDF Annotation object.
public class AnnotationBorder
- Inheritance
-
AnnotationBorder
- Inherited Members
Constructors
AnnotationBorder(decimal, decimal, decimal, IReadOnlyList<decimal>)
Create a new AnnotationBorder.
public AnnotationBorder(decimal horizontalCornerRadius, decimal verticalCornerRadius, decimal borderWidth, IReadOnlyList<decimal> lineDashPattern)
Parameters
horizontalCornerRadius
decimalverticalCornerRadius
decimalborderWidth
decimallineDashPattern
IReadOnlyList<decimal>
Properties
BorderWidth
The width of the border in user space units.
public decimal BorderWidth { get; }
Property Value
Default
The default border style if not specified.
public static AnnotationBorder Default { get; }
Property Value
HorizontalCornerRadius
The horizontal corner radius in user space units.
public decimal HorizontalCornerRadius { get; }
Property Value
LineDashPattern
The dash pattern for the border lines if provided. Optional.
public IReadOnlyList<decimal> LineDashPattern { get; }
Property Value
VerticalCornerRadius
The vertical corner radius in user space units.
public decimal VerticalCornerRadius { get; }
Property Value
Methods
ToString()
public override string ToString()