|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 problems
public 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 problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getImageCompression()
throws IOException,
AutomationException
getImageCompression in interface IPSDrivergetImageCompression in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setImageCompression(int imageCompression)
throws IOException,
AutomationException
setImageCompression in interface IPSDriversetImageCompression in interface IPSDriver2imageCompression - 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 IPSDriverisArcPressSeparateImage in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setArcPressSeparateImage(boolean sepImage)
throws IOException,
AutomationException
setArcPressSeparateImage in interface IPSDriversetArcPressSeparateImage in interface IPSDriver2sepImage - 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 IPSDriverisArcPressSeparateImageRotate in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setArcPressSeparateImageRotate(boolean sepImage)
throws IOException,
AutomationException
setArcPressSeparateImageRotate in interface IPSDriversetArcPressSeparateImageRotate in interface IPSDriver2sepImage - 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 IPSDrivergetFontMapCollection in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFontMapCollectionByRef(IFontMapCollection fontMapCollection)
throws IOException,
AutomationException
setFontMapCollectionByRef in interface IPSDriversetFontMapCollectionByRef in interface IPSDriver2fontMapCollection - 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 IPSDrivergetPPDFile in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPPDFile(String pPDFile)
throws IOException,
AutomationException
setPPDFile in interface IPSDriversetPPDFile in interface IPSDriver2pPDFile - 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 IPSDrivergetMarks in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMarks(short marks)
throws IOException,
AutomationException
setMarks in interface IPSDriversetMarks in interface IPSDriver2marks - 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 IPSDrivergetHalfTone in interface IPSDriver2halfTone - 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 IPSDriversetHalfTone in interface IPSDriver2halfTone - 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 IPSDrivergetFormName in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFormName(String formName)
throws IOException,
AutomationException
setFormName in interface IPSDriversetFormName in interface IPSDriver2formName - 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 IPSDrivergetPrintableBounds in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPrintableBounds(IEnvelope ppBounds)
throws IOException,
AutomationException
setPrintableBounds in interface IPSDriversetPrintableBounds in interface IPSDriver2ppBounds - 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 IPSDrivergetOrientation in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOrientation(short orientation)
throws IOException,
AutomationException
setOrientation in interface IPSDriversetOrientation in interface IPSDriver2orientation - 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 IPSDrivergetEmulsion in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEmulsion(int emulsion)
throws IOException,
AutomationException
setEmulsion in interface IPSDriversetEmulsion in interface IPSDriver2emulsion - 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 IPSDrivergetImage in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setImage(int image)
throws IOException,
AutomationException
setImage in interface IPSDriversetImage in interface IPSDriver2image - 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 IPSDriverisOneBitImageTransparency in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOneBitImageTransparency(boolean imageTransparency)
throws IOException,
AutomationException
setOneBitImageTransparency in interface IPSDriversetOneBitImageTransparency in interface IPSDriver2imageTransparency - 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 IPSDriverisUseEMFFrameBoxForPSBoundingBox in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseEMFFrameBoxForPSBoundingBox(boolean useFrameBox)
throws IOException,
AutomationException
setUseEMFFrameBoxForPSBoundingBox in interface IPSDriversetUseEMFFrameBoxForPSBoundingBox in interface IPSDriver2useFrameBox - 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 IPSDrivergetPSLanguageLevel in interface IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPSLanguageLevel(int pslevel)
throws IOException,
AutomationException
setPSLanguageLevel in interface IPSDriversetPSLanguageLevel in interface IPSDriver2pslevel - 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 IPSDriversetStepProgressor in interface IPSDriver2rhs1 - 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 IPSDrivercreatePS in interface IPSDriver2inputFileName - 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 IPSDriver2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCopies(short copies)
throws IOException,
AutomationException
setCopies in interface IPSDriver2copies - 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 ISpotPlateCollectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpotPlate getSpotPlate(int index)
throws IOException,
AutomationException
getSpotPlate in interface ISpotPlateCollectionindex - 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 ISpotPlateCollectionspotPlate - 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 ISpotPlateCollectionindex - 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 ISpotPlateCollectionindex - 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 ISpotPlateCollectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getSupportedColorCorrections()
throws IOException,
AutomationException
getSupportedColorCorrections in interface IColorCorrectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getLightness(int dataType)
throws IOException,
AutomationException
getLightness in interface IColorCorrectiondataType - 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 IColorCorrectiondataType - 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 IColorCorrectiondataType - 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 IColorCorrectiondataType - 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 IColorCorrectiondataType - 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 IColorCorrectiondataType - 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 IColorCorrectiondataType - 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 IColorCorrectiondataType - 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 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 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||