O2S.Components.PDF4NET.View.Win Documentation
MediaBox Property



O2S.Components.PDF4NET.View Namespace > PDFVisualPage Class : MediaBox Property
Gets or sets the media box.
Syntax
'Declaration
 
Public Property MediaBox As O2S.Components.PDF4NET.Graphics.PDFStandardRectangle
'Usage
 
Dim instance As PDFVisualPage
Dim value As O2S.Components.PDF4NET.Graphics.PDFStandardRectangle
 
instance.MediaBox = value
 
value = instance.MediaBox
public O2S.Components.PDF4NET.Graphics.PDFStandardRectangle MediaBox {get; set;}
public:
property O2S.Components.PDF4NET.Graphics.PDFStandardRectangle^ MediaBox {
   O2S.Components.PDF4NET.Graphics.PDFStandardRectangle^ get();
   void set (    O2S.Components.PDF4NET.Graphics.PDFStandardRectangle^ value);
}

Property Value

A O2S.Components.PDF4NET.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

PDFVisualPage Class
PDFVisualPage Members
O2S.Components.PDF4NET.Graphics.PDFStandardRectangle