ViewSetup Class
Represents the view setup options for the Word document.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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. |