menu

Document Processing

ViewSetup Class - C# Word Library API Reference | Syncfusion

    Show / Hide Table of Contents

    ViewSetup Class

    Represents the view setup options for the Word document.

    Inheritance
    System.Object
    OwnerHolder
    Syncfusion.DocIO.DLS.XML.XDLSSerializableBase
    ViewSetup
    Inherited Members
    OwnerHolder.Document
    OwnerHolder.m_doc
    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.

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