ASPOSE home

com.aspose.words
Class ViewOptions

java.lang.Object
    extended by com.aspose.words.ViewOptions
All Implemented Interfaces:
java.lang.Cloneable

public class ViewOptions
extends java.lang.Object

Provides various options that control how a document is shown in Microsoft Word.
See Also:
Document, Document.ViewOptions

Property Getters/Setters Summary
booleangetDoNotDisplayPageBoundaries()
voidsetDoNotDisplayPageBoundaries(boolean value)
           Turns off display of the space between the top of the text and the top edge of the page.
booleangetFormsDesign()
voidsetFormsDesign(boolean value)
           Specifies whether the document is in forms design mode.
intgetViewType()
voidsetViewType(int value)
           Controls the view mode in Microsoft Word. The value of the property is ViewType integer constant.
intgetZoomPercent()
voidsetZoomPercent(int value)
           Gets or sets the percentage (between 10 and 500) at which you want to view your document.
intgetZoomType()
voidsetZoomType(int value)
           Gets or sets a zoom value based on the size of the window. The value of the property is ZoomType integer constant.
 

Property Getters/Setters Detail

getViewType/setViewType

public int getViewType()

public void setViewType(int value)
Controls the view mode in Microsoft Word. The value of the property is ViewType integer constant.

getZoomType/setZoomType

public int getZoomType()

public void setZoomType(int value)
Gets or sets a zoom value based on the size of the window. The value of the property is ZoomType integer constant.

getZoomPercent/setZoomPercent

public int getZoomPercent()

public void setZoomPercent(int value)
Gets or sets the percentage (between 10 and 500) at which you want to view your document.

getDoNotDisplayPageBoundaries/setDoNotDisplayPageBoundaries

public boolean getDoNotDisplayPageBoundaries()

public void setDoNotDisplayPageBoundaries(boolean value)
Turns off display of the space between the top of the text and the top edge of the page.

getFormsDesign/setFormsDesign

public boolean getFormsDesign()

public void setFormsDesign(boolean value)
Specifies whether the document is in forms design mode.

Currently works only for documents in WordML format.


See Also:
          Wiki - the home page for the Aspose.Words Product Documentation that includes Programmer's Guide, Knowledge Base and other articles.
          Aspose.Words Support Forum - our preferred method of support.
          Aspose.Words Team - contact Aspose.Words Team.


ASPOSE home