VintaSoft Imaging .NET SDK 15.1: 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

<TypeConverterAttribute(Vintasoft.Imaging.TypeConverters.RectangleFConverter)>
<DescriptionAttribute("The crop box for this page.")>
<RefreshPropertiesAttribute(All)>
Public Property CropBox As System.Drawing.RectangleF

[TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
[Description("The crop box for this page.")]
[RefreshProperties(All)]
public System.Drawing.RectangleF CropBox { get; set; }

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: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also