XFINIUM.PDF.View.Win Documentation
Contents Property (PdfVisualAnnotationToolTip)



Xfinium.Pdf.View Namespace > PdfVisualAnnotationToolTip Class : Contents Property
Gets or sets the contents of annotation tooltip.
Syntax
'Declaration
 
<CategoryAttribute("ToolTips")>
<DescriptionAttribute("The contents of the tooltip")>
<DefaultValueAttribute("{Contents}")>
Public Property Contents As String
'Usage
 
Dim instance As PdfVisualAnnotationToolTip
Dim value As String
 
instance.Contents = value
 
value = instance.Contents
[Category("ToolTips")]
[Description("The contents of the tooltip")]
[DefaultValue("{Contents}")]
public string Contents {get; set;}
[Category("ToolTips")]
[Description("The contents of the tooltip")]
[DefaultValue("{Contents}")]
public:
property String^ Contents {
   String^ get();
   void set (    String^ value);
}

Property Value

The contents of the annotation tooltip.
Remarks
Use the Title and Contents properties to specify the text that is displayed in annotation tooltips. The text can contain annotation property names enclosed in curly brackets that are replaced with actual values when the tooltip is displayed.
For example, the default value of the Contents property is "{Contents}", which means that the contents of the annotation is displayed as the body of the tooltip. You can use other property names to display different information about the annotation, such as {Author}, {Subject}, {Contents}, {ID}, {CreationDate}, {ModificationDate}, etc.
If the property name is not recognized, it is replaced with an empty string. For example, if you set the Contents property to "{UnknownProperty}", the body of the tooltip will be empty because {UnknownProperty} is not a recognized annotation property name.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms


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

PdfVisualAnnotationToolTip Class
PdfVisualAnnotationToolTip Members