Persits Software, Inc. Web Site
 Navigator:  Home |  Object Reference |  PdfRect
PdfRow PdfPreview
  PdfRect Object
PdfRect represents a rectangle defined by the coordinates of its lower-left and upper-right corners. An instance of the PdfRect object is returned by several properties and methods such as PdfPage's MediaBox or PdfFont's GetTextExtent.

Properties Methods
Bottom
Height
Left
Right
Text
Top
Width
Set
SetRect

Properties


float Bottom (Read/Write)

Returns or specifies the Y coordinate of the rectangle's lower-left corner.

float Height (Read/Write)

Returns or specifies rectangle's height which is computed as an absolute difference between its Top and Bottom properties. Setting this property has a side effect of modifying the Top property.

float Left (Read/Write)

Returns or specifies the X coordinate of the rectangle's lower-left corner.

float Right (Read/Write)

Returns or specifies the X coordinate of the rectangle's upper-right corner.

string Text (Read-only)

Returns the text fragment in Unicode format obtained during structured text extraction. Returns an empty string in all other cases. This property was introduced in Version 2.8.

For more information, see Section 17.7 - Structured Text Extraction.


float Top (Read/Write)

Returns or specifies the Y coordinate of the rectangle's upper-right corner.

float Width (Read/Write)

Returns or specifies rectangle's width which is computed as an absolute difference between its Right and Left properties. Setting this property has a side effect of modifying the Right property.

Methods

void Set ( float X, float Y, float Width, float Height )
Sets the coordinates of the lower-left corner of the rectangle to (X, Y) and size to (Width, Height).

void SetRect ( PdfRect Rect )
Copies the rectangle's coordinates and size from that of Rect.

PdfRow PdfPreview
Search AspPDF.net

Newsletter Signup

Other Products
AspPDF
AspUpload
AspJpeg
AspEmail
AspEncrypt
AspGrid
AspUser
  This site is owned and maintained by Persits Software, Inc. Copyright © 2003 - 2014. All Rights Reserved.