Click or drag to resize
Pdf Library for .NET

PdfHtmlSectionManagedContentTrimmingMode Property

Gets or sets how the rendering engine reports where the rendered content ends when ManagedContentTrimming is True. Used only by the Chromium engine. The default is Ink.

Namespace: SelectPdf
Assembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.4
Syntax
public ManagedContentTrimmingMode ManagedContentTrimmingMode { get; set; }

Property Value

ManagedContentTrimmingMode
Remarks

With Ink, the engine measures where the last painted content is after the page is rendered, so what the page paints outside its layout - a shadow, a positioned decoration - is kept, together with the space the last element leaves below itself.

With Marker, the content ends where the page's layout ends, the way earlier versions cut; something painted outside the layout can be cut. Only the last page is affected: the pages before it are the same in both modes.

An engine that does not support the Ink mode uses the Marker mode.

See Also