PDFView4NET WinForms Edition


O2S.Components.PDFView4NET Namespace > PDFPageView Class : DefaultRectangleAnnotationBorderWidth Property
DefaultRectangleAnnotationBorderWidth Property
Gets or sets the default border width for rectangle annotations.
Syntax
'Declaration
 
<BrowsableAttribute(True)>
<CategoryAttribute("PDF Annotations")>
<DescriptionAttribute("Default pen width for drawing the border of rectangle annotations")>
<DefaultValueAttribute(1)>
Public Property DefaultRectangleAnnotationBorderWidth As Double
'Usage
 
Dim instance As PDFPageView
Dim value As Double
 
instance.DefaultRectangleAnnotationBorderWidth = value
 
value = instance.DefaultRectangleAnnotationBorderWidth
[Browsable(true)]
[Category("PDF Annotations")]
[Description("Default pen width for drawing the border of rectangle annotations")]
[DefaultValue(1)]
public double DefaultRectangleAnnotationBorderWidth {get; set;}

Property Value

The default width of the pen used to draw the border of rectangle annotation on the screen.
Exceptions
ExceptionDescription
Thown when the value is less than zero.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also