ProcessorContext.LayoutOptions

ProcessorContext LayoutOptions property. Document layout options used by the processor.

ProcessorContext.LayoutOptions property

Document layout options used by the processor.

public LayoutOptions LayoutOptions { get; }

Examples

Shows how to configure layout options to hide comments when rendering a document.

ConverterContext context = new ConverterContext();
context.LayoutOptions.CommentDisplayMode = Layout.CommentDisplayMode.Hide;

Converter.Create(context)
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "LayoutOptions.pdf")
    .Execute();

See Also