VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Metadata Namespace / PdfPageMetadata Class / CropBox Property
Syntax Remarks Requirements SeeAlso
In This Topic
    CropBox Property (PdfPageMetadata)
    In This Topic
    Gets or sets the crop box for this page.
    Syntax
    'Declaration
    
    <RefreshPropertiesAttribute(All)>
    <TypeConverterAttribute(Vintasoft.Imaging.TypeConverters.RectangleFConverter)>
    <CategoryAttribute("PDF page")>
    Public Property CropBox As System.Drawing.RectangleF
    
    
    [RefreshProperties(All)]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    [Category("PDF page")]
    public System.Drawing.RectangleF CropBox { get; set; }
    
    
    [RefreshProperties(All)]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    [Category("PDF page")]
    public: __property System.Drawing.RectangleF* get_CropBox();
    public: __property void set_CropBox(
    System.Drawing.RectangleF* value
    );
    [RefreshProperties(All)]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    [Category("PDF page")]
    public:
    property System.Drawing.RectangleF^ CropBox { System.Drawing.RectangleF^ get(); void set(System.Drawing.RectangleF^ value); }

    Property Value

    Default value is MediaBox.
    Remarks

    This property defines rectangle, expressed in default user space units, defining the visible region of default user space. When the page is displayed or printed, its contents are to be clipped (cropped) to this rectangle and then imposed on the output medium in some implementation-defined manner.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also