viewsetup-ag凯发旗舰厅



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

public class viewsetup
extends documentserializable

field summary
static int def_zooming
          constant value for zoom.
 
constructor summary
viewsetup(idocument doc)
          creates pagesetup object for specified document.
 
method summary
 documentviewtype getdocumentviewtype()
          returns document view mode
 int getzoompercent()
          returns zooming value in percents
 zoomtype getzoomtype()
          returns zooming type
 void setdocumentviewtype(documentviewtype value)
          sets document view mode
 void setzoompercent(int value)
          sets zooming value in percents
 void setzoomtype(zoomtype value)
          sets zooming type
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
field detail

def_zooming

public static final int def_zooming
constant value for zoom.
see also:
constant field values
constructor detail

viewsetup

public viewsetup(idocument doc)
creates pagesetup object for specified document.
parameters:
doc - doc
method detail

getzoompercent

public int getzoompercent()
returns zooming value in percents
returns:
the zoom percent.

setzoompercent

public void setzoompercent(int value)
sets zooming value in percents
parameters:
value - the zoom percent.

getzoomtype

public zoomtype getzoomtype()
returns zooming type
returns:
the type of the zoom.

setzoomtype

public void setzoomtype(zoomtype value)
sets zooming type
parameters:
value - the type of the zoom.

getdocumentviewtype

public documentviewtype getdocumentviewtype()
returns document view mode
returns:
the type of the document view.

setdocumentviewtype

public void setdocumentviewtype(documentviewtype value)
sets document view mode
parameters:
value - the type of the document view.


网站地图