Skip to content

PDFVisualAnnotationToolTipContentRequestedEventArgs

Namespace: O2S.Components.PDF4NET.View

Defines the parameters for the PDFDocumentView.AnnotationToolTipContentRequested event.

public class PDFVisualAnnotationToolTipContentRequestedEventArgs : PDFVisualAnnotationEventArgs

Inheritance ObjectEventArgsPDFVisualAnnotationEventArgsPDFVisualAnnotationToolTipContentRequestedEventArgs

Properties

Contents

Gets or sets the contents of annotation tooltip.

public string Contents { get; set; }

Property Value

String
The contents of the annotation tooltip.

Remarks

Use the PDFVisualAnnotationToolTipContentRequestedEventArgs.Title and Contents properties to specify the text that is displayed in annotation tooltips. This property is initialized with the default value of the PDFVisualAnnotationToolTip.Contents property of the PDFVisualAnnotationToolTip object that is set in the PDFDocumentView.AnnotationToolTips property.
You can change it in the event handler to customize the body of the tooltip for a specific annotation.


Title

Gets or sets the title of annotation tooltip.

public string Title { get; set; }

Property Value

String
The title of the annotation tooltip.

Remarks

Use the Title and PDFVisualAnnotationToolTipContentRequestedEventArgs.Contents properties to specify the text that is displayed in annotation tooltips. This property is initialized with the default value of the PDFVisualAnnotationToolTip.Title property of the PDFVisualAnnotationToolTip object that is set in the PDFDocumentView.AnnotationToolTips property.
You can change it in the event handler to customize the title of the tooltip for a specific annotation.


VisualAnnotation

Gets the annotation.

public PDFVisualAnnotation VisualAnnotation { get; }

Property Value

PDFVisualAnnotation
The annotation that generated the event.