←Select platform

ConvertRect Method

Summary

Converts a rectangle from one coordinate system type to another.

Syntax

C#
VB
Java
C++

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.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly