VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / CropBox Property
Syntax Remarks Requirements SeeAlso
In This Topic
    CropBox Property (PdfPage)
    In This Topic
    Gets or sets the crop box for this page.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The crop box for this page.")>
    <RefreshPropertiesAttribute(All)>
    <TypeConverterAttribute(Vintasoft.Imaging.TypeConverters.RectangleFConverter)>
    Public Property CropBox As System.Drawing.RectangleF
    
    
    [Description("The crop box for this page.")]
    [RefreshProperties(All)]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    public System.Drawing.RectangleF CropBox { get; set; }
    
    
    [Description("The crop box for this page.")]
    [RefreshProperties(All)]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    public: __property System.Drawing.RectangleF* get_CropBox();
    public: __property void set_CropBox(
    System.Drawing.RectangleF* value
    );
    [Description("The crop box for this page.")]
    [RefreshProperties(All)]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    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