New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class AnnotationBorder

Inheritance: objectAnnotationBorder

Constructors

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

C#
public AnnotationBorder()

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

C#
public AnnotationBorder(double width, AnnotationBorderStyle style, double[] dashArray)
Parameters:widthdouble

The border width in user units.

styleAnnotationBorderStyle

The border style for the annotation.

dashArraydouble[]

The dash array.

Properties

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

C#
public IEnumerable<double> DashArray { get; set; }
Property Value:

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

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

C#
public AnnotationBorderStyle Style { get; set; }
Property Value:

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

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

C#
public double Width { get; set; }
Property Value:

The thickness of the border line.