XFINIUM.PDF Documentation
MediaBox Property



Xfinium.Pdf.Core Namespace > PdfPageInfo Class : MediaBox Property
Gets the page media box.
Syntax
'Declaration
 
Public ReadOnly Property MediaBox As PdfStandardRectangle
'Usage
 
Dim instance As PdfPageInfo
Dim value As PdfStandardRectangle
 
value = instance.MediaBox
public PdfStandardRectangle MediaBox {get;}
public:
property PdfStandardRectangle^ MediaBox {
   PdfStandardRectangle^ get();
}

Property Value

A Xfinium.Pdf.Graphics.PdfStandardRectangle, expressed in default user space units, defining the boundaries of the physical medium on which the page is intended to be displayed or printed.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfPageInfo Class
PdfPageInfo Members