VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / MediaBox Property



In This Topic
    MediaBox Property (PdfPage)
    In This Topic
    Gets or sets the media box of this page.
    Syntax
    'Declaration
     
    <RefreshPropertiesAttribute(RefreshProperties.All)>
    <DescriptionAttribute("The media box of this page.")>
    <TypeConverterAttribute("행, Vintasoft.Imaging.Pdf, Version=5.6.5.1, Culture=neutral, PublicKeyToken=153caf29a10d2e31")>
    Public Property MediaBox As RectangleF
    [RefreshProperties(RefreshProperties.All)]
    [Description("The media box of this page.")]
    [TypeConverter("행, Vintasoft.Imaging.Pdf, Version=5.6.5.1, Culture=neutral, PublicKeyToken=153caf29a10d2e31")]
    public RectangleF MediaBox {get; set;}
    [RefreshProperties(RefreshProperties.All)]
    [Description("The media box of this page.")]
    [TypeConverter("행, Vintasoft.Imaging.Pdf, Version=5.6.5.1, Culture=neutral, PublicKeyToken=153caf29a10d2e31")]
    public: __property RectangleF get_MediaBox();
    public: __property void set_MediaBox( 
       RectangleF value
    );
    [RefreshProperties(RefreshProperties.All)]
    [Description("The media box of this page.")]
    [TypeConverter("행, Vintasoft.Imaging.Pdf, Version=5.6.5.1, Culture=neutral, PublicKeyToken=153caf29a10d2e31")]
    public:
    property RectangleF MediaBox {
       RectangleF get();
       void set (    RectangleF value);
    }
    Remarks
    This property defines a rectangle, 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

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also