|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.output.EmfPrinter
public class EmfPrinter
Class used to print maps with the EMF (Windows Enhanced Metafile) Printer Driver.
| Constructor Summary | |
|---|---|
EmfPrinter()
Constructs a EmfPrinter using ArcGIS Engine. |
|
EmfPrinter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EmfPrinter theEmfPrinter = (EmfPrinter) obj; |
|
| 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(String printerName)
Indicates if the Printer Name passed into function is supported by the IPrinter Driver. |
void |
endMapDocument()
End map document. |
void |
endPage()
Finalize current page output. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
finishPrinting()
Finish up Printing. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
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. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
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)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
void |
load(IStream pstm)
load |
void |
queryPaperSize(double[] width,
double[] height)
Returns Page Size for Printer. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
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. |
void |
setTrackCancel(ITrackCancel rhs1)
Reacts to a Cancel. |
void |
startMapDocument()
Begin map document. |
int |
startPage(IEnvelope pixelBounds,
int hDcPrinter)
Start new page output. |
int |
startPrinting(IEnvelope pixelBounds,
int hDcPrinter)
Initialize Printing. |
boolean |
verifyDriverSettings()
Indicates if the Printer Driver should validate Printer Driver's local settings. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public EmfPrinter()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public EmfPrinter(Object obj)
throws IOException
EmfPrinter theEmfPrinter = (EmfPrinter) obj;
obj to EmfPrinter.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
getName in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFilter()
throws IOException,
AutomationException
getFilter in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFileExtension()
throws IOException,
AutomationException
getFileExtension in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPrintToFile(String fileName)
throws IOException,
AutomationException
setPrintToFile in interface IPrinterfileName - The fileName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getPrintToFile()
throws IOException,
AutomationException
getPrintToFile in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDriverName()
throws IOException,
AutomationException
getDriverName in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpoolFileName(String spoolFileName)
throws IOException,
AutomationException
setSpoolFileName in interface IPrinterspoolFileName - The spoolFileName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getSpoolFileName()
throws IOException,
AutomationException
getSpoolFileName in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResolution(short res)
throws IOException,
AutomationException
setResolution in interface IPrinterres - The res (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getResolution()
throws IOException,
AutomationException
getResolution in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStepProgressor(IStepProgressor rhs1)
throws IOException,
AutomationException
setStepProgressor in interface IPrinterrhs1 - A reference to a com.esri.arcgis.system.IStepProgressor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPaperByRef(IPaper paper)
throws IOException,
AutomationException
setPaperByRef in interface IPrinterpaper - A reference to a com.esri.arcgis.output.IPaper (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPaper getPaper()
throws IOException,
AutomationException
getPaper in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryPaperSize(double[] width,
double[] height)
throws IOException,
AutomationException
queryPaperSize in interface IPrinterwidth - 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.
public IEnvelope getPrintableBounds()
throws IOException,
AutomationException
getPrintableBounds in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUnits()
throws IOException,
AutomationException
getUnits in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean verifyDriverSettings()
throws IOException,
AutomationException
verifyDriverSettings in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean doesDriverSupportPrinter(String printerName)
throws IOException,
AutomationException
doesDriverSupportPrinter in interface IPrinterprinterName - The printerName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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.
startPrinting in interface IPrinterpixelBounds - 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.
public void finishPrinting()
throws IOException,
AutomationException
finishPrinting in interface IPrinterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void startMapDocument()
throws IOException,
AutomationException
startMapDocument in interface IPrinterMPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int startPage(IEnvelope pixelBounds,
int hDcPrinter)
throws IOException,
AutomationException
startPage in interface IPrinterMPagepixelBounds - 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.
public void endPage()
throws IOException,
AutomationException
endPage in interface IPrinterMPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void endMapDocument()
throws IOException,
AutomationException
endMapDocument in interface IPrinterMPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
throws IOException,
AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws IOException,
AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws IOException,
AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void cleanup()
throws IOException,
AutomationException
cleanup in interface IOutputCleanupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTrackCancel(ITrackCancel rhs1)
throws IOException,
AutomationException
setTrackCancel in interface ITrackCancelSetuprhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||