Xceed PDF Library for .NET Documentation v1.0
Xceed.PdfLibrary.NET Assembly / Xceed.PdfLibrary.NET Namespace / PageSettings Class / BleedBox Property
In This Topic
    BleedBox Property
    In This Topic
    Gets or sets the BleedBox rectangle for the page.
    Syntax
    public Nullable<Rectangle> BleedBox {get; set;}

    Property Value

    The bleed box.
    Remarks

    The BleedBox defines the area that includes any content that extends beyond the TrimBox. This is used in professional printing to ensure that background colors, images, or other elements extend slightly beyond the final trimmed page size to prevent white edges due to slight misalignment during cutting.

    The BleedBox must be equal to or larger than the TrimBox, and typically extends 3-5mm (approximately 9-15 points) beyond the TrimBox on all sides.

    Typical use case: Professional printing where content needs to extend to the edge of the final trimmed page without showing white borders.

    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also