←Select platform

Bounds Property

Summary

Source bounds of this hyperlink.

Syntax

C#
VB
Java
C++
public PDFRect Bounds { get; set; } 
Public Property Bounds As Leadtools.Pdf.PDFRect 
public PDFRect getBounds() 
public void setBounds(PDFRect bounds) 
             
public: 
property Leadtools.Pdf.PDFRect Bounds { 
   Leadtools.Pdf.PDFRect get(); 
   void set (    Leadtools.Pdf.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.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly