beautypg.com

Getscreendpi(), Getzoommaximum(), Getzoompreferred() – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 182: Setzoommaximum(double), Setzoompreferred(double), Getscreendpi, Getzoommaximum, Getzoompreferred, Setzoommaximum, Double

background image

(continued from last page)

Parameters:

zoom

- The new zoom level.

getZoomPreferred

public double getZoomPreferred()

Property: The prererred size of and individual page expressed in percent. 1.0 is 100% and 0.0 is 0%. Values above 100%
(1.0) is allowed.

100% means the size that the page will get on screen is equal to the size of the paper, so for instance if you meassure the
width on the screen with a ruler a paper with the "Letter" size would be 8.5 inces wide.

Returns:

The current zoom level.

setZoomPreferred

public void setZoomPreferred(double zoom)

Property: The prererred size of and individual page expressed in percent. 1.0 is 100% and 0.0 is 0%. Values above 100%
(1.0) is allowed.

100% means the size that the page will get on screen is equal to the size of the paper, so for instance if you meassure the
width on the screen with a ruler a paper with the "Letter" size would be 8.5 inces wide.

Parameters:

zoom

- The new zoom level.

getZoomMaximum

public double getZoomMaximum()

Property: The maximum size of and individual page expressed in percent. 1.0 is 100% and 0.0 is 0%. Values above 100%
(1.0) is allowed.

100% means the size that the page will get on screen is equal to the size of the paper, so for instance if you meassure the
width on the screen with a ruler a paper with the "Letter" size would be 8.5 inces wide.

Returns:

The current zoom level.

setZoomMaximum

public void setZoomMaximum(double zoom)

Property: The maximum size of and individual page expressed in percent. 1.0 is 100% and 0.0 is 0%. Values above 100%
(1.0) is allowed.

100% means the size that the page will get on screen is equal to the size of the paper, so for instance if you meassure the
width on the screen with a ruler a paper with the "Letter" size would be 8.5 inces wide.

Parameters:

zoom

- The new zoom level.

getScreenDpi

public double getScreenDpi()

Page 182 of 196

com.miginfocom.beans.PrintPreviewBean