|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.output.EmfPrinter
public class EmfPrinter
COM Class 'EmfPrinter'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriOutput.olb'
Description 'Class used to print maps with the EMF (Windows Enhanced Metafile) Printer Driver.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.output.IEmfPrinter |
---|
IID, IIDde6dcd81_3f54_11d1_885e_0000f87808ee, xxDummy |
Fields inherited from interface com.esri.arcgis.output.IPrinter |
---|
IID, IID2ab49820_9406_11d0_87ef_080009ec732a, xxDummy |
Fields inherited from interface com.esri.arcgis.output.IPrinterMPage |
---|
IID, IID4004040c_a184_4c77_ba78_0475d93a3803, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Fields inherited from interface com.esri.arcgis.system.IClone |
---|
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Fields inherited from interface com.esri.arcgis.output.IOutputCleanup |
---|
IID, IID2b8765ec_8808_474c_8fd3_869d08df20f6, xxDummy |
Fields inherited from interface com.esri.arcgis.output.ITrackCancelSetup |
---|
IID, IID5e091c46_d015_471f_8187_f774c7ad9d48, xxDummy |
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. 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(java.lang.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(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. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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)
getSizeMax |
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)
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(java.io.ObjectInput in)
|
void |
release()
Release a EmfPrinter. |
void |
save(IStream pstm,
int fClearDirty)
save |
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. |
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(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
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 problemspublic EmfPrinter(java.lang.Object obj) throws java.io.IOException
EmfPrinter theEmfPrinter = (EmfPrinter) obj;
obj
to EmfPrinter
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IPrinter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFilter() throws java.io.IOException, AutomationException
getFilter
in interface IPrinter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFileExtension() throws java.io.IOException, AutomationException
getFileExtension
in interface IPrinter
java.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
setPrintToFile
in interface IPrinter
fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPrintToFile() throws java.io.IOException, AutomationException
getPrintToFile
in interface IPrinter
java.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
getDriverName
in interface IPrinter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpoolFileName(java.lang.String spoolFileName) throws java.io.IOException, AutomationException
setSpoolFileName
in interface IPrinter
spoolFileName
- The spoolFileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSpoolFileName() throws java.io.IOException, AutomationException
getSpoolFileName
in interface IPrinter
java.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
setResolution
in interface IPrinter
res
- 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
getResolution
in interface IPrinter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStepProgressor(IStepProgressor rhs1) throws java.io.IOException, AutomationException
setStepProgressor
in interface IPrinter
rhs1
- A reference to a com.esri.arcgis.system.IStepProgressor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPaperByRef(IPaper paper) throws java.io.IOException, AutomationException
setPaperByRef
in interface IPrinter
paper
- 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
getPaper
in interface IPrinter
java.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
queryPaperSize
in interface IPrinter
width
- 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
getPrintableBounds
in interface IPrinter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUnits() throws java.io.IOException, AutomationException
getUnits
in interface IPrinter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean verifyDriverSettings() throws java.io.IOException, AutomationException
verifyDriverSettings
in interface IPrinter
java.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
doesDriverSupportPrinter
in interface IPrinter
printerName
- The printerName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int startPrinting(IEnvelope pixelBounds, int hDcPrinter) throws java.io.IOException, AutomationException
startPrinting
in interface IPrinter
pixelBounds
- 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
finishPrinting
in interface IPrinter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startMapDocument() throws java.io.IOException, AutomationException
startMapDocument
in interface IPrinterMPage
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int startPage(IEnvelope pixelBounds, int hDcPrinter) throws java.io.IOException, AutomationException
startPage
in interface IPrinterMPage
pixelBounds
- 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 endPage() throws java.io.IOException, AutomationException
endPage
in interface IPrinterMPage
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void endMapDocument() throws java.io.IOException, AutomationException
endMapDocument
in interface IPrinterMPage
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.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
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- 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
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.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
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void cleanup() throws java.io.IOException, AutomationException
cleanup
in interface IOutputCleanup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTrackCancel(ITrackCancel rhs1) throws java.io.IOException, AutomationException
setTrackCancel
in interface ITrackCancelSetup
rhs1
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |