[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Layout.WordLayoutSettings

Class WordLayoutSettings

Namespace
GrapeCity.Documents.Word.Layout
Assembly
GcDocs.Word.Layout.dll

Options used for pagination and rendering of a GcWordDocument.

public class WordLayoutSettings
Inheritance
object
WordLayoutSettings
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

WordLayoutSettings()

Creates a new instance of the WordLayoutSettings class.

public WordLayoutSettings()

Properties

CommentMode

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

Default value is Full

.
public WordCommentMode CommentMode { get; set; }

Property Value

WordCommentMode

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.

public string[] DefaultFontFamilies { get; set; }

Property Value

string[]

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.

public string[] FallbackFontFamilies { get; set; }

Property Value

string[]

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.

public FontCollection FontCollection { get; set; }

Property Value

GrapeCity.Documents.Text.FontCollection

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.

public string FontDirectory { get; set; }

Property Value

string