|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.output.PSDriver
public class PSDriver
Class used to print maps with the PostScript Driver.
Constructor Summary | |
---|---|
PSDriver()
Constructs a PSDriver using ArcGIS Engine. |
|
PSDriver(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. PSDriver thePSDriver = (PSDriver) obj; |
Method Summary | |
---|---|
void |
add(ISpotPlate spotPlate)
Add an ISpotPlate to the Spot Plate collection. |
void |
createPS(String inputFileName,
String outputFileName)
Converts the EMF file to a EPS File. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
short |
getCMYKCorrection(int dataType,
int index)
The Color Correction for the CMYK color model. |
short |
getCopies()
The number of copies. |
int |
getCount()
The count of the Spot Plate collection. |
int |
getEmulsion()
The Emulsion setting for the PostScript Driver. |
IFontMapCollection |
getFontMapCollection()
The Font Map Collection for Font Mapping. |
String |
getFormName()
The printer page form. |
int |
getHalfTone(int halfTone)
The Halftone DPI / LPI. |
int |
getImage()
The Image setting (Positive or Negative) for the PostScript Driver. |
int |
getImageCompression()
The Image Compression of the PostScript Driver. |
short |
getLightness(int dataType)
The Lightness Value of the HLS Color Model. |
short |
getMarks()
The PostScript Marks. |
short |
getOrientation()
The printer page orientation (1 = portrait. |
String |
getPPDFile()
The PPD (PostScript Printer Description) file to be used. |
IEnvelope |
getPrintableBounds()
The printers Printable Bounds - Used for Marks. |
int |
getPSLanguageLevel()
The PostScript Driver Language Level. |
short |
getSaturation(int dataType)
The Saturation Value of the HLS Color Model. |
ISpotPlate |
getSpotPlate(int index)
An ISpotPlate from the Spot Plate collection. |
short |
getSupportedColorCorrections()
The dataType supported: 1 Total, 2 Raster, 4 Vector. |
short |
getUnderColorRemoval(int dataType)
The Undercolor Removal Value. |
int |
hashCode()
the hashcode for this object |
void |
insert(int index,
ISpotPlate spotPlate)
Insert an ISpotPlate into the Spot Plate collection at position index. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isArcPressSeparateImage()
Indicates whether a separate Image file should be created for ArcPress. |
boolean |
isArcPressSeparateImageRotate()
Indicates whether the Image should be rotated 90 degress for ArcPress. |
boolean |
isOneBitImageTransparency()
Indicates if the 1-bit Image Transparency setting for the PostScript Driver is set to true. |
boolean |
isUseEMFFrameBoxForPSBoundingBox()
Indicates whether the PostScript Driver should use the ENHMETAHEADER rclFrame instead of rclBounds for the PostScript Bounding Box. |
void |
remove(int index)
Remove ISpotPlate at index from the Spot Plate collection. |
void |
removeAll()
Remove all ISpotPlates from the Spot Plate collection. |
void |
setArcPressSeparateImage(boolean sepImage)
Indicates whether a separate Image file should be created for ArcPress. |
void |
setArcPressSeparateImageRotate(boolean sepImage)
Indicates whether the Image should be rotated 90 degress for ArcPress. |
void |
setCMYKCorrection(int dataType,
int index,
short val)
The Color Correction for the CMYK color model. |
void |
setCopies(short copies)
The number of copies. |
void |
setEmulsion(int emulsion)
The Emulsion setting for the PostScript Driver. |
void |
setFontMapCollectionByRef(IFontMapCollection fontMapCollection)
The Font Map Collection for Font Mapping. |
void |
setFormName(String formName)
The printer page form. |
void |
setHalfTone(int halfTone,
int value)
The Halftone DPI / LPI. |
void |
setImage(int image)
The Image setting (Positive or Negative) for the PostScript Driver. |
void |
setImageCompression(int imageCompression)
The Image Compression of the PostScript Driver. |
void |
setLightness(int dataType,
short val)
The Lightness Value of the HLS Color Model. |
void |
setMarks(short marks)
The PostScript Marks. |
void |
setOneBitImageTransparency(boolean imageTransparency)
Indicates if the 1-bit Image Transparency setting for the PostScript Driver is set to true. |
void |
setOrientation(short orientation)
The printer page orientation (1 = portrait. |
void |
setPPDFile(String pPDFile)
The PPD (PostScript Printer Description) file to be used. |
void |
setPrintableBounds(IEnvelope ppBounds)
The printers Printable Bounds - Used for Marks. |
void |
setPSLanguageLevel(int pslevel)
The PostScript Driver Language Level. |
void |
setSaturation(int dataType,
short val)
The Saturation Value of the HLS Color Model. |
void |
setStepProgressor(IStepProgressor rhs1)
PostScript Driver will update a Progress Bar. |
void |
setTrackCancel(ITrackCancel rhs1)
Reacts to a Cancel. |
void |
setUnderColorRemoval(int dataType,
short val)
The Undercolor Removal Value. |
void |
setUseEMFFrameBoxForPSBoundingBox(boolean useFrameBox)
Indicates whether the PostScript Driver should use the ENHMETAHEADER rclFrame instead of rclBounds for the PostScript Bounding Box. |
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 PSDriver() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic PSDriver(Object obj) throws IOException
PSDriver thePSDriver = (PSDriver) obj;
obj
to PSDriver
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getImageCompression() throws IOException, AutomationException
getImageCompression
in interface IPSDriver
getImageCompression
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setImageCompression(int imageCompression) throws IOException, AutomationException
setImageCompression
in interface IPSDriver
setImageCompression
in interface IPSDriver2
imageCompression
- A com.esri.arcgis.output.esriPSDriverImageCompression constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isArcPressSeparateImage() throws IOException, AutomationException
isArcPressSeparateImage
in interface IPSDriver
isArcPressSeparateImage
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setArcPressSeparateImage(boolean sepImage) throws IOException, AutomationException
setArcPressSeparateImage
in interface IPSDriver
setArcPressSeparateImage
in interface IPSDriver2
sepImage
- The sepImage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isArcPressSeparateImageRotate() throws IOException, AutomationException
isArcPressSeparateImageRotate
in interface IPSDriver
isArcPressSeparateImageRotate
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setArcPressSeparateImageRotate(boolean sepImage) throws IOException, AutomationException
setArcPressSeparateImageRotate
in interface IPSDriver
setArcPressSeparateImageRotate
in interface IPSDriver2
sepImage
- The sepImage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFontMapCollection getFontMapCollection() throws IOException, AutomationException
getFontMapCollection
in interface IPSDriver
getFontMapCollection
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFontMapCollectionByRef(IFontMapCollection fontMapCollection) throws IOException, AutomationException
setFontMapCollectionByRef
in interface IPSDriver
setFontMapCollectionByRef
in interface IPSDriver2
fontMapCollection
- A reference to a com.esri.arcgis.output.IFontMapCollection (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getPPDFile() throws IOException, AutomationException
getPPDFile
in interface IPSDriver
getPPDFile
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPPDFile(String pPDFile) throws IOException, AutomationException
setPPDFile
in interface IPSDriver
setPPDFile
in interface IPSDriver2
pPDFile
- The pPDFile (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getMarks() throws IOException, AutomationException
getMarks
in interface IPSDriver
getMarks
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMarks(short marks) throws IOException, AutomationException
setMarks
in interface IPSDriver
setMarks
in interface IPSDriver2
marks
- The marks (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHalfTone(int halfTone) throws IOException, AutomationException
getHalfTone
in interface IPSDriver
getHalfTone
in interface IPSDriver2
halfTone
- A com.esri.arcgis.output.esriPSDriverHalfTone constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHalfTone(int halfTone, int value) throws IOException, AutomationException
setHalfTone
in interface IPSDriver
setHalfTone
in interface IPSDriver2
halfTone
- A com.esri.arcgis.output.esriPSDriverHalfTone constant (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFormName() throws IOException, AutomationException
getFormName
in interface IPSDriver
getFormName
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFormName(String formName) throws IOException, AutomationException
setFormName
in interface IPSDriver
setFormName
in interface IPSDriver2
formName
- The formName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getPrintableBounds() throws IOException, AutomationException
getPrintableBounds
in interface IPSDriver
getPrintableBounds
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPrintableBounds(IEnvelope ppBounds) throws IOException, AutomationException
setPrintableBounds
in interface IPSDriver
setPrintableBounds
in interface IPSDriver2
ppBounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getOrientation() throws IOException, AutomationException
getOrientation
in interface IPSDriver
getOrientation
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOrientation(short orientation) throws IOException, AutomationException
setOrientation
in interface IPSDriver
setOrientation
in interface IPSDriver2
orientation
- The orientation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEmulsion() throws IOException, AutomationException
getEmulsion
in interface IPSDriver
getEmulsion
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEmulsion(int emulsion) throws IOException, AutomationException
setEmulsion
in interface IPSDriver
setEmulsion
in interface IPSDriver2
emulsion
- A com.esri.arcgis.output.esriPSDriverEmulsion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getImage() throws IOException, AutomationException
getImage
in interface IPSDriver
getImage
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setImage(int image) throws IOException, AutomationException
setImage
in interface IPSDriver
setImage
in interface IPSDriver2
image
- A com.esri.arcgis.output.esriPSDriverImage constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOneBitImageTransparency() throws IOException, AutomationException
isOneBitImageTransparency
in interface IPSDriver
isOneBitImageTransparency
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOneBitImageTransparency(boolean imageTransparency) throws IOException, AutomationException
setOneBitImageTransparency
in interface IPSDriver
setOneBitImageTransparency
in interface IPSDriver2
imageTransparency
- The imageTransparency (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseEMFFrameBoxForPSBoundingBox() throws IOException, AutomationException
isUseEMFFrameBoxForPSBoundingBox
in interface IPSDriver
isUseEMFFrameBoxForPSBoundingBox
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseEMFFrameBoxForPSBoundingBox(boolean useFrameBox) throws IOException, AutomationException
setUseEMFFrameBoxForPSBoundingBox
in interface IPSDriver
setUseEMFFrameBoxForPSBoundingBox
in interface IPSDriver2
useFrameBox
- The useFrameBox (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPSLanguageLevel() throws IOException, AutomationException
getPSLanguageLevel
in interface IPSDriver
getPSLanguageLevel
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPSLanguageLevel(int pslevel) throws IOException, AutomationException
setPSLanguageLevel
in interface IPSDriver
setPSLanguageLevel
in interface IPSDriver2
pslevel
- A com.esri.arcgis.output.esriPSDriverPSLanguageLevel constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStepProgressor(IStepProgressor rhs1) throws IOException, AutomationException
setStepProgressor
in interface IPSDriver
setStepProgressor
in interface IPSDriver2
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.public void createPS(String inputFileName, String outputFileName) throws IOException, AutomationException
createPS
in interface IPSDriver
createPS
in interface IPSDriver2
inputFileName
- The inputFileName (in)outputFileName
- The outputFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getCopies() throws IOException, AutomationException
getCopies
in interface IPSDriver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCopies(short copies) throws IOException, AutomationException
setCopies
in interface IPSDriver2
copies
- The copies (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface ISpotPlateCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpotPlate getSpotPlate(int index) throws IOException, AutomationException
getSpotPlate
in interface ISpotPlateCollection
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(ISpotPlate spotPlate) throws IOException, AutomationException
add
in interface ISpotPlateCollection
spotPlate
- A reference to a com.esri.arcgis.output.ISpotPlate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insert(int index, ISpotPlate spotPlate) throws IOException, AutomationException
insert
in interface ISpotPlateCollection
index
- The index (in)spotPlate
- A reference to a com.esri.arcgis.output.ISpotPlate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int index) throws IOException, AutomationException
remove
in interface ISpotPlateCollection
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface ISpotPlateCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getSupportedColorCorrections() throws IOException, AutomationException
getSupportedColorCorrections
in interface IColorCorrection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getLightness(int dataType) throws IOException, AutomationException
getLightness
in interface IColorCorrection
dataType
- A com.esri.arcgis.output.esriColorCorrectionDataType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLightness(int dataType, short val) throws IOException, AutomationException
setLightness
in interface IColorCorrection
dataType
- A com.esri.arcgis.output.esriColorCorrectionDataType constant (in)val
- The val (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getSaturation(int dataType) throws IOException, AutomationException
getSaturation
in interface IColorCorrection
dataType
- A com.esri.arcgis.output.esriColorCorrectionDataType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSaturation(int dataType, short val) throws IOException, AutomationException
setSaturation
in interface IColorCorrection
dataType
- A com.esri.arcgis.output.esriColorCorrectionDataType constant (in)val
- The val (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getUnderColorRemoval(int dataType) throws IOException, AutomationException
getUnderColorRemoval
in interface IColorCorrection
dataType
- A com.esri.arcgis.output.esriColorCorrectionDataType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnderColorRemoval(int dataType, short val) throws IOException, AutomationException
setUnderColorRemoval
in interface IColorCorrection
dataType
- A com.esri.arcgis.output.esriColorCorrectionDataType constant (in)val
- The val (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getCMYKCorrection(int dataType, int index) throws IOException, AutomationException
getCMYKCorrection
in interface IColorCorrection
dataType
- A com.esri.arcgis.output.esriColorCorrectionDataType constant (in)index
- A com.esri.arcgis.output.esriCMYKIndex constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCMYKCorrection(int dataType, int index, short val) throws IOException, AutomationException
setCMYKCorrection
in interface IColorCorrection
dataType
- A com.esri.arcgis.output.esriColorCorrectionDataType constant (in)index
- A com.esri.arcgis.output.esriCMYKIndex constant (in)val
- The val (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 ISupportErrorInfo
riid
- 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 setTrackCancel(ITrackCancel rhs1) throws IOException, AutomationException
setTrackCancel
in interface ITrackCancelSetup
rhs1
- A reference to a com.esri.arcgis.system.ITrackCancel (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 |