com.spire.doc.formatting
Class ViewSetup

java.lang.Object
  extended by com.spire.doc.OwnerHolder
      extended by com.spire.doc.documents.xml.DocumentSerializable
          extended by com.spire.doc.formatting.ViewSetup
All Implemented Interfaces:
IDocumentSerializable

public class ViewSetup
extends DocumentSerializable


Constructor Summary
ViewSetup(IDocument doc)
          Creates PageSetup object for specified document.
 
Method Summary
 DocumentViewType getDocumentViewType()
          Returns or sets document view mode
 int getZoomPercent()
          Returns or sets zooming value in percents
 ZoomType getZoomType()
          Returns or sets zooming type
 void setDocumentViewType(DocumentViewType value)
          Returns or sets document view mode
 void setZoomPercent(int value)
          Returns or sets zooming value in percents
 void setZoomType(ZoomType value)
          Returns or sets zooming type
 
Methods inherited from class com.spire.doc.OwnerHolder
getDocument
 

Constructor Detail

ViewSetup

public ViewSetup(IDocument doc)
Creates PageSetup object for specified document.

Parameters:
doc - The doc.
Method Detail

getZoomPercent

public int getZoomPercent()
Returns or sets zooming value in percents

Returns:
The zoom percent.

setZoomPercent

public void setZoomPercent(int value)
Returns or sets zooming value in percents


getZoomType

public ZoomType getZoomType()
Returns or sets zooming type

Returns:
The type of the zoom.

setZoomType

public void setZoomType(ZoomType value)
Returns or sets zooming type


getDocumentViewType

public DocumentViewType getDocumentViewType()
Returns or sets document view mode

Returns:
The type of the document view.

setDocumentViewType

public void setDocumentViewType(DocumentViewType value)
Returns or sets document view mode