O2S.Components.PDF4NET.View.Win Documentation
BorderColor Property (PDFVisualFreeTextAnnotation)



O2S.Components.PDF4NET.View.Annotations Namespace > PDFVisualFreeTextAnnotation Class : BorderColor Property
Gets or sets the annotation border color.
Syntax
'Declaration
 
Public Property BorderColor As O2S.Components.PDF4NET.Graphics.PDFColor
'Usage
 
Dim instance As PDFVisualFreeTextAnnotation
Dim value As O2S.Components.PDF4NET.Graphics.PDFColor
 
instance.BorderColor = value
 
value = instance.BorderColor
public O2S.Components.PDF4NET.Graphics.PDFColor BorderColor {get; set;}
public:
property O2S.Components.PDF4NET.Graphics.PDFColor^ BorderColor {
   O2S.Components.PDF4NET.Graphics.PDFColor^ get();
   void set (    O2S.Components.PDF4NET.Graphics.PDFColor^ value);
}

Property Value

A O2S.Components.PDF4NET.Graphics.PDFColor specifying the border color with which to stroke the annotation's border.
Exceptions
ExceptionDescription
Thrown when the property is set to a color other than Gray, RGB or CMYK.
Remarks
For free text annotations the border color will always match the text color and viceversa.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PDFVisualFreeTextAnnotation Class
PDFVisualFreeTextAnnotation Members
O2S.Components.PDF4NET.Graphics.PDFColor