Click or drag to resize

ViewSetup Class

Represents a setup configuration for a view, inheriting from DocumentSerializable for document-based serialization.
Inheritance Hierarchy
System Object
Spire.Doc OwnerHolder
Spire.Doc.Documents.XML DocumentSerializable
Spire.Doc.Formatting ViewSetup

Namespace: Spire.Doc.Formatting
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class ViewSetup : DocumentSerializable

The ViewSetup type exposes the following members.

Constructors
Name Description
Public method ViewSetup
Creates PageSetup object for specified document.
Top
Properties
Name Description
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property DocumentViewType
Returns or sets document view mode
Protected property XDLSHolder (Inherited from DocumentSerializable .)
Public property ZoomPercent
Returns or sets zooming value in percents
Public property ZoomType
Returns or sets zooming type
Top
Methods
Name Description
Protected method CloneImpl (Inherited from DocumentSerializable .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method InitXDLSHolder (Inherited from DocumentSerializable .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method ReadXmlAttributes (Overrides DocumentSerializable ReadXmlAttributes(IXDLSAttributeReader) .)
Protected method ReadXmlContent (Inherited from DocumentSerializable .)
Protected method RestoreReference (Inherited from DocumentSerializable .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Protected method WriteXmlAttributes (Overrides DocumentSerializable WriteXmlAttributes(IXDLSAttributeWriter) .)
Protected method WriteXmlContent (Inherited from DocumentSerializable .)
Top
Fields
Name Description
Public field Static member DEF_ZOOMING
Constant value for Zoom.
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also