menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ViewSetup - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ViewSetup

    Represents the view setup options for the Word document.

    Inheritance
    System.Object
    OwnerHolder
    XDLSSerializableBase
    ViewSetup
    Implements
    IXDLSSerializable
    Inherited Members
    OwnerHolder.Document
    OwnerHolder.m_doc
    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()
    XDLSSerializableBase.CloneImpl()
    XDLSSerializableBase.InitXDLSHolder()
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.XDLSHolder
    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
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)

    WriteXmlAttributes(IXDLSAttributeWriter)

    Writes object data as xml attributes.

    Declaration
    protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
    Parameters
    Type Name Description
    IXDLSAttributeWriter writer

    The IXDLSAttributeWriter object.

    Overrides
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)

    Implements

    IXDLSSerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved