Class
AnnotationBorder

Border settings for annotations, including width, style, and optional dash pattern used when rendering the outline.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Annotations

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class AnnotationBorder

Inheritance: objectAnnotationBorder

Constructors

AnnotationBorder()

Create a border with default width and style; adjust properties to change the rendered outline.

Declaration

cs-api-definition
public AnnotationBorder()

AnnotationBorder(double, AnnotationBorderStyle, double[])

Create a border using the specified width, style, and dash pattern for dashed styles.

Declaration

cs-api-definition
public AnnotationBorder(double width, AnnotationBorderStyle style, double[] dashArray)

Parameters

width

double

The border width in user units.

style

AnnotationBorderStyle

The border style for the annotation.

dashArray

double[]

The dash array.

Properties

DashArray

Gets or sets the dash pattern used when Style is dashed; values alternate dash and gap lengths.

Declaration

cs-api-definition
public IEnumerable<double> DashArray { get; set; }

Property Value

IEnumerable<double>

An array of numbers defining the lengths of dashes and gaps for dashed borders.

Style

Gets or sets how the outline is rendered, such as solid, dashed, or simulated 3D styles.

Declaration

cs-api-definition
public AnnotationBorderStyle Style { get; set; }

Property Value

AnnotationBorderStyle

The border style that determines how the border line is rendered.

Width

Gets or sets the border thickness in page user units, affecting stroke weight when drawn.

Declaration

cs-api-definition
public double Width { get; set; }

Property Value

double

The thickness of the border line.