←Select platform

SourceBounds Property

Summary
Source bounds of this internal link.
Syntax
C#
VB
C++
Java
public PDFRect SourceBounds { get; set; } 
Public Property SourceBounds As PDFRect 
public PDFRect getSourceBounds(); 
public void setSourceBounds( 
   PDFRect pDFRect 
); 
public: 
property PDFRect SourceBounds { 
   PDFRect get(); 
   void set (    PDFRect ); 
} 

Property Value

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

Remarks

The SourceBounds is the hot spot area of the internal link. 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 PDFInternalLink.

Requirements

Target Platforms

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

Leadtools.Pdf Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.