Page.TrimBox

Page.TrimBox property

Gets or sets trim box of the page.

public Rectangle TrimBox { get; set; }

Examples

Example demonstrates how to get trim box of the page:

Document document = new Document("sample.pdf");
Rectangle trimBox = document.Pages[1].TrimBox;

See Also