←Select platform

Bounds Property

Summary

Source bounds of this hyperlink.

Syntax
C#
VB
C++
Java
public PDFRect Bounds { get; set; } 
Public Property Bounds As PDFRect 
public PDFRect getBounds() 
public void setBounds(PDFRect bounds) 
public: 
property PDFRect Bounds { 
   PDFRect get(); 
   void set (    PDFRect ); 
} 

Property Value

A PDFRect that represents the source location and size of this hyperlink in PDF units (1/72 of an inch and bottom left). The default value is an empty PDFRect.

Remarks

The Bounds is the hot spot area of the hyperlink. An external viewer may choose to change the mouse cursor shape to a "Hand" when the user hovers over this link and proceed to perform the action of the link when the user clicks the link.

You can use the PDFDocumentPage.ConvertRect helper method to convert from pixel or inches to PDF units and back.

Example

For an example, refer to PDFHyperlink.

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