Icon Property (PDFTextAnnotation)
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;}
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 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also