Back to Devexpress

PdfOrientedRectangle.BoundingRectangle Property

officefileapi-devexpress-dot-pdf-dot-pdforientedrectangle.md

latest3.2 KB
Original Source

PdfOrientedRectangle.BoundingRectangle Property

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

Declaration

csharp
public PdfRectangle BoundingRectangle { get; }
vb
Public ReadOnly Property BoundingRectangle As PdfRectangle

Property Value

TypeDescription
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

csharp
{
    PdfRectangle linkRectangle = linkSearchResults.Rectangles[0].BoundingRectangle;

pdf-document-api-add-link-to-uri/CS/AddLinkToUri/Program.cs#L24

csharp
{
    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

vb
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

vb
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

PdfOrientedRectangle Class

PdfOrientedRectangle Members

DevExpress.Pdf Namespace