|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPageDescription
Provides access to the available properties of a page description object.
PageDescription is an input parameter for the ExportLayout method on IMapServerLayout. The page description consists of a collection of MapFrameDescription objects. A MapFrameDescription holds the location of the map on the page layout and serves as a container for the MapDescription. A PageDescription also holds information about the size of the layout, Height and Width, and the page Units .
You can place CustomGraphics on the layout page. You can also specify an Extent of the layout page, in page units, in order to export a section of the layout.
Use IPageDescription when exporting an existing map layout using ExportLayout on IMapServerLayout.
Method Summary | |
---|---|
IGraphicElements |
getCustomGraphics()
Custom graphics on the page. |
IEnvelope |
getExtent()
The current extent of the page. |
double |
getHeight()
The height of the page. |
IMapFrameDescriptions |
getMapFrames()
Descriptions for the map frames on the page. |
int |
getUnits()
The page units. |
double |
getWidth()
The width of the page. |
void |
setCustomGraphics(IGraphicElements elements)
Custom graphics on the page. |
void |
setExtent(IEnvelope pageExtent)
The current extent of the page. |
Method Detail |
---|
double getHeight() throws IOException, AutomationException
The height is in page units (e.g. inches, centimeters...).
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getWidth() throws IOException, AutomationException
The width is in page units (e.g. inches, centimeters...).
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getUnits() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getExtent() throws IOException, AutomationException
Use Extent to export a part of the layout page. The extent is in page units (e.g. inches, centimeters...). It is important to note that the default value for this extent property is equal to the full extent of the original page layout. It does not equal the state of layout extent in the Active View before saving the map document (for example, zooming into the page layout before saving the map).
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExtent(IEnvelope pageExtent) throws IOException, AutomationException
pageExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGraphicElements getCustomGraphics() throws IOException, AutomationException
Use CustomGraphics to add dynamic text or graphics to the exported layout. One common use of CustomGraphics is to add a customizable, dynamic title to each result of an ExportLayout request.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCustomGraphics(IGraphicElements elements) throws IOException, AutomationException
elements
- A reference to a com.esri.arcgis.carto.IGraphicElements (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMapFrameDescriptions getMapFrames() 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 |