PDFView4NET WinForms Edition
OwnerDraw Property




O2S.Components.PDFView4NET Namespace > PDFAnnotationToolTip Class : OwnerDraw Property
Gets or sets a value indicating whether the annotation tooltip is drawn by the operating system or by application code that you provide.
Syntax
'Declaration
 
Public Property OwnerDraw As Boolean
'Usage
 
Dim instance As PDFAnnotationToolTip
Dim value As Boolean
 
instance.OwnerDraw = value
 
value = instance.OwnerDraw
public bool OwnerDraw {get; set;}
public: __property bool get_OwnerDraw();
public: __property void set_OwnerDraw( 
   bool value
);
public:
property bool OwnerDraw {
   bool get();
   void set (    bool value);
}

Property Value

true if the annotation tooltip is drawn by code that you provide; false if the annotation tooltip is drawn by the operating system. The default is false.
Remarks
Usually, an annotation tooltip is drawn by the operating system, but to customize the appearance of the annotation tooltip you can set the OwnerDraw property to true and handle the PDFPageView.AnnotationToolTipDraw event.
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

PDFAnnotationToolTip Class
PDFAnnotationToolTip Members