Class AnnotationBorder
Border settings for annotations, including width, style, and optional dash pattern used when rendering the outline.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Annotations
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class AnnotationBorder
Constructors
AnnotationBorder()
Create a border with default width and style; adjust properties to change the rendered outline.
Declaration
public AnnotationBorder()
AnnotationBorder(Double, AnnotationBorderStyle, Double[])
Create a border using the specified width, style, and dash pattern for dashed styles.
Declaration
public AnnotationBorder(double width, AnnotationBorderStyle style, double[] dashArray)
Parameters
|
System.Double
width
The border width in user units. |
|
AnnotationBorderStyle
style
The border style for the annotation. |
|
System.Double[]
dashArray
The dash array. |
Properties
DashArray
Gets or sets the dash pattern used when Style is dashed; values alternate dash and gap lengths.
Declaration
public IEnumerable<double> DashArray { get; set; }
Property Value
|
System.Collections.Generic.IEnumerable<System.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
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
public double Width { get; set; }
Property Value
|
System.Double
The thickness of the border line. |