PDFView4NET WinForms Edition
Icon Property (PDFTextAnnotation)




O2S.Components.PDFView4NET.Annotations Namespace > PDFTextAnnotation Class : Icon Property
Gets or sets the annotation icon.
Syntax
'Declaration
 
Public Property Icon As PDFTextAnnotationIcon
'Usage
 
Dim instance As PDFTextAnnotation
Dim value As PDFTextAnnotationIcon
 
instance.Icon = value
 
value = instance.Icon
public PDFTextAnnotationIcon Icon {get; set;}
public: __property PDFTextAnnotationIcon get_Icon();
public: __property void set_Icon( 
   PDFTextAnnotationIcon value
);
public:
property PDFTextAnnotationIcon Icon {
   PDFTextAnnotationIcon get();
   void set (    PDFTextAnnotationIcon value);
}

Property Value

The icon to be displayed for the annotation.
Remarks
If the Icon property to any of the PDFTextAnnotationIcon enum values, the IconName property will be set automatically to the corresponding string value. If the IconName property to a predefined icon name (names available in PDFTextAnnotationIcon enumeration), the Icon property will be set accordingly, otherwise the Icon property will be set to PDFTextAnnotationIcon.Custom
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFTextAnnotation Class
PDFTextAnnotation Members