PDFView4NET WinForms Edition
Graphics Property




O2S.Components.PDFView4NET Namespace > AnnotationToolTipDrawEventArgs Class : Graphics Property
Gets the graphics surface used to draw the annotation tooltip.
Syntax
'Declaration
 
Public ReadOnly Property Graphics As Graphics
'Usage
 
Dim instance As AnnotationToolTipDrawEventArgs
Dim value As Graphics
 
value = instance.Graphics
public Graphics Graphics {get;}
public: __property Graphics* get_Graphics();
public:
property Graphics^ Graphics {
   Graphics^ get();
}

Property Value

The System.Drawing.Graphics on which to draw the annotation tooltip.
Remarks
You use the System.Drawing.Graphics object to customize the drawing of certain visual aspects of an annotation tooltip. For example, you can draw your own background by using the System.Drawing.Graphics.FillRectangle(System.Drawing.Brush,System.Drawing.RectangleF) method.
Any custom drawing that is done outside of the rectangle specified by the Bounds property will not show up. You can increase the bounds of the annotation tooltip before it is shown by handling the PDFPageView.AnnotationToolTipPopup 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

AnnotationToolTipDrawEventArgs Class
AnnotationToolTipDrawEventArgs Members