officefileapi-devexpress-dot-pdf-dot-pdforientedrectangle.md
Provides access to the PdfOrientedRectangle object’ s minimum bounding rectangle.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Core.dll
NuGet Package : DevExpress.Pdf.Core
public PdfRectangle BoundingRectangle { get; }
Public ReadOnly Property BoundingRectangle As PdfRectangle
| Type | Description |
|---|---|
| PdfRectangle |
An PdfRectangle object that is the minimum bounding rectangle.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the BoundingRectangle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
pdf-document-api-add-link-to-page/CS/AddLinkToPage/Program.cs#L26
{
PdfRectangle linkRectangle = linkSearchResults.Rectangles[0].BoundingRectangle;
pdf-document-api-add-link-to-uri/CS/AddLinkToUri/Program.cs#L24
{
PdfRectangle linkRectangle = linkSearchResults.Rectangles[0].BoundingRectangle;
string linkUri = "https://community.devexpress.com/blogs/";
pdf-document-api-add-link-to-page/VB/AddLinkToPage/Program.vb#L25
If linkSearchResults.Status = PdfTextSearchStatus.Found Then
Dim linkRectangle As PdfRectangle = linkSearchResults.Rectangles(0).BoundingRectangle
pdf-document-api-add-link-to-uri/VB/AddLinkToUri/Program.vb#L22
If linkSearchResults.Status = PdfTextSearchStatus.Found Then
Dim linkRectangle As PdfRectangle = linkSearchResults.Rectangles(0).BoundingRectangle
Dim linkUri As String = "https://community.devexpress.com/blogs/"
See Also