[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Layout.WordLayoutSettings

WordLayoutSettings Class

Options used for pagination and rendering of a GcWordDocument.

Inheritance
WordLayoutSettings
Namespace: GrapeCity.Documents.Word.Layout
Assembly: DS.Documents.Word.dll
Syntax
public class WordLayoutSettings
Public Class WordLayoutSettings

Constructors

Name Description
WordLayoutSettings()

Creates a new instance of the WordLayoutSettings class.

Properties

Name Description
CommentMode

Gets or sets a value specifying how to handle comments during layout of a GcWordDocument.

Default value is Full

.
Culture

Gets or sets the culture used to format calculated fields.

If not specified, the CultureInfo.CurrentCulture is used.

DefaultFontFamilies

Gets or sets the array of font family names to choose the default font from. First elements of the array are more preferable than the subsequent ones.

Setting FontCollection to a not null value makes this property unusable.

FallbackFontFamilies

Gets or sets the array of font family names to be used as fallback fonts.

Setting FontCollection to a not null value makes this property unusable.

FontCollection

Gets or sets a GrapeCity.Documents.Text.FontCollection with fonts to be used for rendering text.

If this property is not null the value of FontDirectory is ignored.

In a Windows environment both FontCollection and FontDirectory can be null, in which case Windows system fonts will be used. In a non-Windows environment not specifying these properties may cause the rendering to fail.

FontDirectory

Gets or sets the path to a directory with fonts to be used for rendering text.

Setting FontCollection to a not null value makes this property unusable.

In a Windows environment both FontCollection and FontDirectory can be null, in which case Windows system fonts will be used. In a non-Windows environment not specifying these properties may cause the rendering to fail.