|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPage
Provides access to members that control the Page.
IPage is the primary interface on the Page object which manages the page on which the page layout is drawn.
Use this interface to access all of the properties of an ArcMap page, including the page’s border, background, background color, orientation, and size.
Method Summary | |
---|---|
void |
drawBackground(IDisplay display)
Draw the page background. |
void |
drawBorder(IDisplay display)
Draw the page border. |
void |
drawPaper(IDisplay display,
IColor eraseColor)
Draw the paper. |
void |
drawPrintableArea(IDisplay display)
Draw the printable area. |
IBackground |
getBackground()
The page background. |
IColor |
getBackgroundColor()
The page color. |
IBorder |
getBorder()
The page border. |
void |
getDeviceBounds(IPrinter printer,
short currentPage,
double overlap,
short resolution,
IEnvelope deviceBounds)
Return the printer page size in device units. |
int |
getFormID()
The Page form. |
short |
getOrientation()
The Page orientation. |
void |
getPageBounds(IPrinter printer,
short currentPage,
double overlap,
IEnvelope pageBounds)
Return the page size in page units. |
int |
getPageToPrinterMapping()
The page to printer mapping. |
IEnvelope |
getPrintableBounds()
The printable bounds. |
int |
getUnits()
The units used for the page and all associated coordinates. |
boolean |
isDelayEvents()
Indicates if the page stops firing IPageEvents until the flag is set to false. |
boolean |
isPrintableAreaVisible()
Indicates if the printable area is visible. |
boolean |
isStretchGraphicsWithPage()
Indicates if graphics should stretch with the page when the page size changes. |
void |
printerChanged(IPrinter printer)
Called by PageLayout when printer changes. |
void |
printerPageCount(IPrinter printer,
double overlap,
short[] pageCount)
The number of printer pages spanned by the page. |
void |
putCustomSize(double width,
double height)
The size of the page in page units. |
void |
querySize(double[] width,
double[] height)
The size of the page in page units. |
void |
setBackground(IBackground background)
The page background. |
void |
setBackgroundColor(IColor color)
The page color. |
void |
setBorder(IBorder border)
The page border. |
void |
setDelayEvents(boolean delayEvents)
Indicates if the page stops firing IPageEvents until the flag is set to false. |
void |
setFormID(int formID)
The Page form. |
void |
setIsPrintableAreaVisible(boolean isPrintableAreaVisible)
Indicates if the printable area is visible. |
void |
setOrientation(short orientation)
The Page orientation. |
void |
setPageToPrinterMapping(int mode)
The page to printer mapping. |
void |
setStretchGraphicsWithPage(boolean stretchGraphicsWithPage)
Indicates if graphics should stretch with the page when the page size changes. |
void |
setUnits(int units)
The units used for the page and all associated coordinates. |
Method Detail |
---|
int getFormID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFormID(int formID) throws IOException, AutomationException
formID
- A com.esri.arcgis.carto.esriPageFormID constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getOrientation() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOrientation(short orientation) throws IOException, AutomationException
orientation
- The orientation (in)
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.void setUnits(int units) throws IOException, AutomationException
units
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getPrintableBounds() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPrintableAreaVisible() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsPrintableAreaVisible(boolean isPrintableAreaVisible) throws IOException, AutomationException
isPrintableAreaVisible
- The isPrintableAreaVisible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isStretchGraphicsWithPage() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStretchGraphicsWithPage(boolean stretchGraphicsWithPage) throws IOException, AutomationException
stretchGraphicsWithPage
- The stretchGraphicsWithPage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getBackgroundColor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackgroundColor(IColor color) throws IOException, AutomationException
color
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IBorder getBorder() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBorder(IBorder border) throws IOException, AutomationException
border
- A reference to a com.esri.arcgis.carto.IBorder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IBackground getBackground() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackground(IBackground background) throws IOException, AutomationException
background
- A reference to a com.esri.arcgis.carto.IBackground (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isDelayEvents() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDelayEvents(boolean delayEvents) throws IOException, AutomationException
delayEvents
- The delayEvents (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPageToPrinterMapping() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPageToPrinterMapping(int mode) throws IOException, AutomationException
mode
- A com.esri.arcgis.carto.esriPageToPrinterMapping constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void querySize(double[] width, double[] height) throws IOException, AutomationException
width
- The width (out: use single element array)height
- The height (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putCustomSize(double width, double height) throws IOException, AutomationException
width
- The width (in)height
- The height (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void printerPageCount(IPrinter printer, double overlap, short[] pageCount) throws IOException, AutomationException
printer
- A reference to a com.esri.arcgis.output.IPrinter (in)overlap
- The overlap (in)pageCount
- The pageCount (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getPageBounds(IPrinter printer, short currentPage, double overlap, IEnvelope pageBounds) throws IOException, AutomationException
printer
- A reference to a com.esri.arcgis.output.IPrinter (in)currentPage
- The currentPage (in)overlap
- The overlap (in)pageBounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getDeviceBounds(IPrinter printer, short currentPage, double overlap, short resolution, IEnvelope deviceBounds) throws IOException, AutomationException
printer
- A reference to a com.esri.arcgis.output.IPrinter (in)currentPage
- The currentPage (in)overlap
- The overlap (in)resolution
- The resolution (in)deviceBounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawPaper(IDisplay display, IColor eraseColor) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)eraseColor
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawBackground(IDisplay display) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawPrintableArea(IDisplay display) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawBorder(IDisplay display) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void printerChanged(IPrinter printer) throws IOException, AutomationException
printer
- A reference to a com.esri.arcgis.output.IPrinter (in)
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 |