LEADTOOLS PDF (Leadtools.Pdf assembly)
LEAD Technologies, Inc

ConvertRect Method






The current coordinate system type of rect.
The coordinate system type to convert to.
Coordinates to convert.
Converts a rectangle from one coordinate system type to another.
Syntax
'Declaration
 
Public Function ConvertRect( _
   ByVal sourceType As PDFCoordinateType, _
   ByVal destinationType As PDFCoordinateType, _
   ByVal rect As PDFRect _
) As PDFRect
'Usage
 
Dim instance As PDFDocumentPage
Dim sourceType As PDFCoordinateType
Dim destinationType As PDFCoordinateType
Dim rect As PDFRect
Dim value As PDFRect
 
value = instance.ConvertRect(sourceType, destinationType, rect)
 function Leadtools.Pdf.PDFDocumentPage.ConvertRect( 
   sourceType ,
   destinationType ,
   rect 
)

Parameters

sourceType
The current coordinate system type of rect.
destinationType
The coordinate system type to convert to.
rect
Coordinates to convert.

Return Value

A PDFRect that contains the converted rectangle.
Remarks

For more information, refer to PDF Coordinate System.

Example

For an example, refer to PDFObject.

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

PDFDocumentPage Class
PDFDocumentPage Members
PDF Coordinate System

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.