WordProcessingOptions

WordProcessingOptions class

This rendering options enables you to customize the appearance of the output HTML/PDF/PNG/JPEG when rendering Word documents.

public class WordProcessingOptions

Constructors

Name Description
WordProcessingOptions() Provides options for rendering word processing documents.

Properties

Name Description
BottomMargin { get; set; } The distance (in points) between the bottom edge of the page and the bottom boundary of the body text.
EnableOpenTypeFeatures { get; set; } This option enables kerning and other OpenType Features when rendering Arabic, Hebrew, Indian scripts, Latin-based or Cyrillic-based scripts.
LeftMargin { get; set; } The distance (in points) between the left edge of the page and the left boundary of the body text.
PageSize { get; set; } The size of the output page. The default value is Unspecified which means that a page size is set in a page settings (Page Setup) is used. When rendering HTM and HTML files the default page size is set to Letter 792 x 612 points. As a result, some of the content may not fit into the page frame. Set a larger page size e.g. A3 to fit the contents.
RenderTrackedChanges { get; set; } Enables tracked changes (revisions) rendering.
RightMargin { get; set; } The distance (in points) between the right edge of the page and the right boundary of the body text.
TopMargin { get; set; } The distance (in points) between the top edge of the page and the top boundary of the body text.

Remarks

See also Render Word documents as HTML, PDF, or image files for more details and code snippets.

See Also