PDFView4NET WinForms Edition
PDFRectangle Constructor(PDFPoint,PDFPoint)




O2S.Components.PDFView4NET Namespace > PDFRectangle Class > PDFRectangle Constructor : PDFRectangle Constructor(PDFPoint,PDFPoint)
First corner of the rectangle.
Second corner of the rectangle.
Initializes a new PDFRectangle object from 2 PDFPoint objects, representing 2 opposite corners of the rectangle.
Syntax
'Declaration
 
Public Function New( _
   ByVal pt1 As PDFPoint, _
   ByVal pt2 As PDFPoint _
)
'Usage
 
Dim pt1 As PDFPoint
Dim pt2 As PDFPoint
 
Dim instance As New PDFRectangle(pt1, pt2)
public PDFRectangle( 
   PDFPoint pt1,
   PDFPoint pt2
)
public: PDFRectangle( 
   PDFPoint* pt1,
   PDFPoint* pt2
)
public:
PDFRectangle( 
   PDFPoint^ pt1,
   PDFPoint^ pt2
)

Parameters

pt1
First corner of the rectangle.
pt2
Second corner of the rectangle.
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

PDFRectangle Class
PDFRectangle Members
Overload List