 |
HtmlToPdfOptionsManagedContentTrimming Property |
Gets or sets whether the library decides where the rendered content ends on each page. Default: true.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic bool ManagedContentTrimming { get; set; }Public Property ManagedContentTrimming As Boolean
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.
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