Click or drag to resize

PdfConverterManagedContentTrimming Property

Gets or sets whether the library decides where the rendered content ends on each page. The default is True.

Namespace: ExpertPdf.Anywhere.HtmlToPdf
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public bool ManagedContentTrimming { get; set; }

Property Value

Boolean
Remarks

With True, the page the content ends on is drawn only down to where the content ends, on a document of any length: a short page does not end with a blank page, and the last page rectangle of the conversion summary ends where the content ends.

With False, the rendering engine shortens the page to the content itself, which it does only when the whole content fits on one page. Set it to False if pages are cut in the wrong place.

AllowContentHeightResize set to False turns off both ways of cutting.

See Also