Table of Contents

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 decimal
verticalCornerRadius decimal
borderWidth decimal
lineDashPattern IReadOnlyList<decimal>

Properties

BorderWidth

The width of the border in user space units.

public decimal BorderWidth { get; }

Property Value

decimal

Default

The default border style if not specified.

public static AnnotationBorder Default { get; }

Property Value

AnnotationBorder

HorizontalCornerRadius

The horizontal corner radius in user space units.

public decimal HorizontalCornerRadius { get; }

Property Value

decimal

LineDashPattern

The dash pattern for the border lines if provided. Optional.

public IReadOnlyList<decimal> LineDashPattern { get; }

Property Value

IReadOnlyList<decimal>

VerticalCornerRadius

The vertical corner radius in user space units.

public decimal VerticalCornerRadius { get; }

Property Value

decimal

Methods

ToString()

public override string ToString()

Returns

string