←Select platform

ConvertRect Method

Summary

Converts a rectangle from one coordinate system type to another.

Syntax
C#
VB
C++
Java
Public Function ConvertRect( _ 
   ByVal sourceType As PDFCoordinateType, _ 
   ByVal destinationType As PDFCoordinateType, _ 
   ByVal rect As PDFRect _ 
) As PDFRect 
public PDFRect convertRect(PDFCoordinateType sourceType, PDFCoordinateType destinationType, PDFRect 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

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly