PDFView4NET WinForms Edition
DisplayRectangle Property




O2S.Components.PDFView4NET.Annotations Namespace > PDFAnnotation Class : DisplayRectangle Property
Gets or sets the display rectangle of this annotation object.
Syntax
'Declaration
 
Public Property DisplayRectangle As DisplayRectangle
'Usage
 
Dim instance As PDFAnnotation
Dim value As DisplayRectangle
 
instance.DisplayRectangle = value
 
value = instance.DisplayRectangle
public DisplayRectangle DisplayRectangle {get; set;}
public: __property DisplayRectangle* get_DisplayRectangle();
public: __property void set_DisplayRectangle( 
   DisplayRectangle* value
);
public:
property DisplayRectangle^ DisplayRectangle {
   DisplayRectangle^ get();
   void set (    DisplayRectangle^ value);
}

Property Value

A System.Drawing.RectangleF object specifying the position and size of the annotation.
Remarks
The display rectangle is relative to the top left corner of the page, as opposed to PDFRectangle which is relative to bottom left corner of the page.
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

PDFAnnotation Class
PDFAnnotation Members