VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / MediaBox Property
Syntax Remarks Requirements SeeAlso
In This Topic
    MediaBox Property (PdfPage)
    In This Topic
    Gets or sets the media box of this page.
    Syntax
    'Declaration
    
    <TypeConverterAttribute(Vintasoft.Imaging.TypeConverters.RectangleFConverter)>
    <DescriptionAttribute("The media box of this page.")>
    <RefreshPropertiesAttribute(All)>
    Public Property MediaBox As System.Drawing.RectangleF
    
    
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    [Description("The media box of this page.")]
    [RefreshProperties(All)]
    public System.Drawing.RectangleF MediaBox { get; set; }
    
    
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    [Description("The media box of this page.")]
    [RefreshProperties(All)]
    public: __property System.Drawing.RectangleF* get_MediaBox();
    public: __property void set_MediaBox(
    System.Drawing.RectangleF* value
    );
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    [Description("The media box of this page.")]
    [RefreshProperties(All)]
    public:
    property System.Drawing.RectangleF^ MediaBox { System.Drawing.RectangleF^ get(); void set(System.Drawing.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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also