|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPrinter
Provides access to members that control the Printer Driver.
com.esri.arcgis.output.IMxApplication
Method Summary | |
---|---|
boolean |
doesDriverSupportPrinter(String printerName)
Indicates if the Printer Name passed into function is supported by the IPrinter Driver. |
void |
finishPrinting()
Finish up Printing. |
String |
getDriverName()
The name of Windows Printer Driver. |
String |
getFileExtension()
File Extension associated with the Printer Driver. |
String |
getFilter()
Filter used in CFileDialog. |
String |
getName()
Name of the IPrinter Driver. |
IPaper |
getPaper()
The IPaper interface. |
IEnvelope |
getPrintableBounds()
The area of the printer page that can be printed on. |
String |
getPrintToFile()
The name of file if saving to Disk. |
short |
getResolution()
The Printer Driver Resolution. |
String |
getSpoolFileName()
The Spool File Name which shows up in the Print Manager. |
int |
getUnits()
The units for PaperSize and PrintableBounds. |
void |
queryPaperSize(double[] width,
double[] height)
Returns Page Size for Printer. |
void |
setPaperByRef(IPaper paper)
The IPaper interface. |
void |
setPrintToFile(String fileName)
The name of file if saving to Disk. |
void |
setResolution(short res)
The Printer Driver Resolution. |
void |
setSpoolFileName(String spoolFileName)
The Spool File Name which shows up in the Print Manager. |
void |
setStepProgressor(IStepProgressor rhs1)
Updates a Progress Bar is set. |
int |
startPrinting(IEnvelope pixelBounds,
int hDcPrinter)
Initialize Printing. |
boolean |
verifyDriverSettings()
Indicates if the Printer Driver should validate Printer Driver's local settings. |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getFilter() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getFileExtension() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPrintToFile(String fileName) throws IOException, AutomationException
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getPrintToFile() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDriverName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSpoolFileName(String spoolFileName) throws IOException, AutomationException
spoolFileName
- The spoolFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getSpoolFileName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setResolution(short res) throws IOException, AutomationException
res
- The res (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getResolution() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStepProgressor(IStepProgressor rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.system.IStepProgressor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPaperByRef(IPaper paper) throws IOException, AutomationException
paper
- A reference to a com.esri.arcgis.output.IPaper (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPaper getPaper() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryPaperSize(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.IEnvelope getPrintableBounds() throws IOException, AutomationException
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.boolean verifyDriverSettings() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean doesDriverSupportPrinter(String printerName) throws IOException, AutomationException
printerName
- The printerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int startPrinting(IEnvelope pixelBounds, int hDcPrinter) throws IOException, AutomationException
The StartPrinting method returns a long that represents the hDC (Windows GDI Device Context handle) of the printer object. After this method is called, the printer object is ready to receive GDI draw instructions directed to its hDC.
pixelBounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)hDcPrinter
- The hDcPrinter (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void finishPrinting() 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 |