Class ViewSetup
Represents the view setup options for the Word document.
Implements
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class ViewSetup : XDLSSerializableBase, IXDLSSerializable
Constructors
ViewSetup(IWordDocument)
Initializes a new instance of the ViewSetup class with the specified IWordDocument instance.
Declaration
public ViewSetup(IWordDocument doc)
Parameters
Type | Name | Description |
---|---|---|
IWordDocument | doc | The IWordDocument instance. |
Fields
DEF_ZOOMING
Constant value for Zoom.
Declaration
public const int DEF_ZOOMING = 100
Field Value
Type |
---|
System.Int32 |
Properties
DocumentViewType
Gets or sets the document view mode.
Declaration
public DocumentViewType DocumentViewType { get; set; }
Property Value
Type | Description |
---|---|
DocumentViewType | The DocumentViewType member that specifies the type of the document view. |
ZoomPercent
Gets or sets the zoom value in percents.
Declaration
public int ZoomPercent { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The integer specifying the zoom percent. |
ZoomType
Gets or sets the zoom type
Declaration
public ZoomType ZoomType { get; set; }
Property Value
Type | Description |
---|---|
ZoomType | The ZoomType member that specifies the type of the zoom. |
Methods
ReadXmlAttributes(IXDLSAttributeReader)
Reads object data from xml attributes.
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader | The IXDLSAttributeReader object. |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Writes object data as xml attributes.
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer | The IXDLSAttributeWriter object. |