|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPageLayout2
Provides access to members that control the Page Layout.
Method Summary | |
---|---|
void |
clearContent()
Clears the elements without dismantling them. |
void |
focusNextMapFrame()
Focus the next map. |
void |
focusPreviousMapFrame()
Focus the previous map. |
Object |
getContentProvider()
The object that is currently managing the content of the layout. |
ISnapGuides |
getHorizontalSnapGuides()
The horizontal snapping guides. |
IPage |
getPage()
On-screen representation of the printer page. |
IPrinter |
getPrinter()
The associated printer. |
IRulerSettings |
getRulerSettings()
The ruler settings. |
ISnapGrid |
getSnapGrid()
The snapping grid. |
ISnapGuides |
getVerticalSnapGuides()
The vertical snapping guides. |
double |
getZoomPercent()
The current zoom percent. |
boolean |
isAlignToMargins()
Indicates if graphics will be aligned to the margins or to each other. |
void |
replaceMaps(IMaps maps)
Replace the maps in the data frames with the specified maps. |
void |
setAlignToMargins(boolean alignToMargins)
Indicates if graphics will be aligned to the margins or to each other. |
void |
setContentProviderByRef(Object provider)
The object that is currently managing the content of the layout. |
void |
zoomToPercent(int percent)
Magnify the page by a certain percentage. |
void |
zoomToWhole()
Fit the whole page in the window. |
void |
zoomToWidth()
Fit the width of the page to the screen. |
Method Detail |
---|
IPage getPage() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRulerSettings getRulerSettings() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISnapGrid getSnapGrid() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISnapGuides getHorizontalSnapGuides() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISnapGuides getVerticalSnapGuides() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getZoomPercent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAlignToMargins(boolean alignToMargins) throws IOException, AutomationException
alignToMargins
- The alignToMargins (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAlignToMargins() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void zoomToWidth() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void zoomToWhole() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void zoomToPercent(int percent) throws IOException, AutomationException
percent
- The percent (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void focusNextMapFrame() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void focusPreviousMapFrame() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void replaceMaps(IMaps maps) throws IOException, AutomationException
maps
- A reference to a com.esri.arcgis.carto.IMaps (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setContentProviderByRef(Object provider) throws IOException, AutomationException
provider
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getContentProvider() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearContent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPrinter getPrinter() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |