Syntax
constants group DocumentZoomType;
Description
These constants describe how the document content is zoomed into the document view.
Constants Summary
|
OPTIMAL |
the page content width (excluding margins) at the current selection fits into the view
|
|
PAGE_WIDTH |
the page width at the current selection fits into the view
|
|
ENTIRE_PAGE |
a complete page of the document fits into the view
|
|
BY_VALUE |
the zoom is relative and is to be set via the property ZoomValue
|
|
PAGE_WIDTH_EXACT |
the page width at the current selection fits into the view. The view ends
exactly at the end of the page.
|
|
Field Details
|
|
Syntax
const short OPTIMAL = 0;
Description
the page content width (excluding margins) at the current selection fits into the view
Syntax
const short PAGE_WIDTH = 1;
Description
the page width at the current selection fits into the view
Syntax
const short ENTIRE_PAGE = 2;
Description
a complete page of the document fits into the view
Syntax
const short BY_VALUE = 3;
Description
the zoom is relative and is to be set via the property ZoomValue
Syntax
const short PAGE_WIDTH_EXACT = 4;
Description
the page width at the current selection fits into the view. The view ends
exactly at the end of the page.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.