VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / CropBox Property



In This Topic
    CropBox Property (PdfPage)
    In This Topic
    Gets or sets the crop box for this page.
    Syntax
    'Declaration
     
    <RefreshPropertiesAttribute(RefreshProperties.All)>
    <TypeConverterAttribute("Vintasoft.Imaging.RectangleFConverter, Vintasoft.Imaging, Version=8.7.0.1, Culture=neutral, PublicKeyToken=153caf29a10d2e31")>
    <DescriptionAttribute("The crop box of this page.")>
    Public Property CropBox As RectangleF
    [RefreshProperties(RefreshProperties.All)]
    [TypeConverter("Vintasoft.Imaging.RectangleFConverter, Vintasoft.Imaging, Version=8.7.0.1, Culture=neutral, PublicKeyToken=153caf29a10d2e31")]
    [Description("The crop box of this page.")]
    public RectangleF CropBox {get; set;}
    [RefreshProperties(RefreshProperties.All)]
    [TypeConverter("Vintasoft.Imaging.RectangleFConverter, Vintasoft.Imaging, Version=8.7.0.1, Culture=neutral, PublicKeyToken=153caf29a10d2e31")]
    [Description("The crop box of this page.")]
    public: __property RectangleF get_CropBox();
    public: __property void set_CropBox( 
       RectangleF value
    );
    [RefreshProperties(RefreshProperties.All)]
    [TypeConverter("Vintasoft.Imaging.RectangleFConverter, Vintasoft.Imaging, Version=8.7.0.1, Culture=neutral, PublicKeyToken=153caf29a10d2e31")]
    [Description("The crop box of this page.")]
    public:
    property RectangleF CropBox {
       RectangleF get();
       void set (    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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also