|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.output.EmfPrinter
Class used to print maps with the EMF (Windows Enhanced Metafile) Printer Driver.
| Constructor Summary | |
EmfPrinter()
Constructs a EmfPrinter using ArcGIS Engine. |
|
EmfPrinter(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
cleanup()
Cleanup should clean all temporary files, free used memory, etc... |
boolean |
doesDriverSupportPrinter(java.lang.String printerName)
Indicates if the Printer Name passed into function is supported by the IPrinter Driver. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
finishPrinting()
Finish up Printing. |
IClone |
getAsIClone()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IEmfPrinter |
getAsIEmfPrinter()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IOutputCleanup |
getAsIOutputCleanup()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersistStream |
getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPrinter |
getAsIPrinter()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISupportErrorInfo |
getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITrackCancelSetup |
getAsITrackCancelSetup()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
getClsid()
|
java.lang.String |
getDriverName()
The name of Windows Printer Driver. |
java.lang.String |
getFileExtension()
File Extension associated with the Printer Driver. |
java.lang.String |
getFilter()
Filter used in CFileDialog. |
java.lang.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. |
java.lang.String |
getPrintToFile()
The name of file if saving to Disk. |
short |
getResolution()
The Printer Driver Resolution. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
Supported Platforms |
java.lang.String |
getSpoolFileName()
The Spool File Name which shows up in the Print Manager. |
int |
getUnits()
The units for PaperSize and PrintableBounds. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
Supported Platforms |
void |
isDirty()
Supported Platforms |
boolean |
isEqual(IClone other)
Returns TRUE when the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Returns TRUE when the receiver and other are the same object. |
void |
load(IStream pstm)
Supported Platforms |
void |
queryPaperSize(double[] width,
double[] height)
Returns Page Size for Printer. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
void |
setPaperByRef(IPaper paper)
The IPaper interface. |
void |
setPrintToFile(java.lang.String fileName)
The name of file if saving to Disk. |
void |
setResolution(short res)
The Printer Driver Resolution. |
void |
setSpoolFileName(java.lang.String spoolFileName)
The Spool File Name which shows up in the Print Manager. |
void |
setStepProgressor(IStepProgressor rhs1)
Updates a Progress Bar is set. |
void |
setTrackCancel(ITrackCancel rhs1)
Reacts to a Cancel. |
int |
startPrinting(IEnvelope pixelBounds,
int hDcPrinter)
Initialize Printing. |
boolean |
verifyDriverSettings()
Indicates if the Printer Driver should validate Printer Driver's local settings. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EmfPrinter()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public EmfPrinter(java.lang.Object obj)
throws java.io.IOException
obj to EmfPrinter. EmfPrinter theEmfPrinter = (EmfPrinter) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IEmfPrinter getAsIEmfPrinter()
public IPrinter getAsIPrinter()
public IPersistStream getAsIPersistStream()
public IClone getAsIClone()
public ISupportErrorInfo getAsISupportErrorInfo()
public IOutputCleanup getAsIOutputCleanup()
public ITrackCancelSetup getAsITrackCancelSetup()
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String getName()
throws java.io.IOException,
AutomationException
IPrinter
getName in interface IPrinterAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getFilter()
throws java.io.IOException,
AutomationException
IPrinter
getFilter in interface IPrinterAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getFileExtension()
throws java.io.IOException,
AutomationException
IPrinter
getFileExtension in interface IPrinterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPrintToFile(java.lang.String fileName)
throws java.io.IOException,
AutomationException
IPrinter
setPrintToFile in interface IPrinterfileName - The fileName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getPrintToFile()
throws java.io.IOException,
AutomationException
IPrinter
getPrintToFile in interface IPrinterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDriverName()
throws java.io.IOException,
AutomationException
IPrinter
getDriverName in interface IPrinterAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSpoolFileName(java.lang.String spoolFileName)
throws java.io.IOException,
AutomationException
IPrinter
setSpoolFileName in interface IPrinterspoolFileName - The spoolFileName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getSpoolFileName()
throws java.io.IOException,
AutomationException
IPrinter
getSpoolFileName in interface IPrinterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResolution(short res)
throws java.io.IOException,
AutomationException
IPrinter
setResolution in interface IPrinterres - The res (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getResolution()
throws java.io.IOException,
AutomationException
IPrinter
getResolution in interface IPrinterAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setStepProgressor(IStepProgressor rhs1)
throws java.io.IOException,
AutomationException
IPrinter
setStepProgressor in interface IPrinterrhs1 - A reference to a com.esri.arcgis.system.IStepProgressor (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setPaperByRef(IPaper paper)
throws java.io.IOException,
AutomationException
IPrinter
setPaperByRef in interface IPrinterpaper - A reference to a com.esri.arcgis.output.IPaper (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPaper getPaper()
throws java.io.IOException,
AutomationException
IPrinter
getPaper in interface IPrinterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryPaperSize(double[] width,
double[] height)
throws java.io.IOException,
AutomationException
IPrinter
queryPaperSize in interface IPrinterwidth - The width (out: use single element array)height - The height (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getPrintableBounds()
throws java.io.IOException,
AutomationException
IPrinter
getPrintableBounds in interface IPrinterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUnits()
throws java.io.IOException,
AutomationException
IPrinter
getUnits in interface IPrinterAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean verifyDriverSettings()
throws java.io.IOException,
AutomationException
IPrinter
verifyDriverSettings in interface IPrinterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean doesDriverSupportPrinter(java.lang.String printerName)
throws java.io.IOException,
AutomationException
IPrinter
doesDriverSupportPrinter in interface IPrinterprinterName - The printerName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int startPrinting(IEnvelope pixelBounds,
int hDcPrinter)
throws java.io.IOException,
AutomationException
IPrinterThe 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.
startPrinting in interface IPrinterpixelBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)hDcPrinter - The hDcPrinter (A COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void finishPrinting()
throws java.io.IOException,
AutomationException
IPrinter
finishPrinting in interface IPrinterAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IClone esri_clone()
throws java.io.IOException,
AutomationException
IClone
esri_clone in interface IClonejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws java.io.IOException,
AutomationException
IClone
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEqual(IClone other)
throws java.io.IOException,
AutomationException
IClone
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isIdentical(IClone other)
throws java.io.IOException,
AutomationException
IClone
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
ISupportErrorInfoIndicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void cleanup()
throws java.io.IOException,
AutomationException
IOutputCleanup
cleanup in interface IOutputCleanupAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setTrackCancel(ITrackCancel rhs1)
throws java.io.IOException,
AutomationException
ITrackCancelSetup
setTrackCancel in interface ITrackCancelSetuprhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||