|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.output.ExportSVG
Class used to export maps to SVG (Scalable Vector Graphics) format.
Use the ExportSVG CoClass to export your map to SVG (Scalable Vector Graphics) format. SVG is an XML-based file format that has been specifically designed for viewing on the Web. SVG can contain both vector and raster information. This is a good choice for displaying maps on a web page because it is rescalable and more easily edited than raster files. SVG has been gaining in popularity since the World Wide Web Consortium (W3C) selected it as their standard vector web format. Some web browsers may require a plug-in in order to view SVG files, and older browsers may not be able to view SVG files at all.
| Constructor Summary | |
ExportSVG()
Constructs a ExportSVG using ArcGIS Engine. |
|
ExportSVG(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
void |
cleanup()
Cleanup should clean all temporary files, free used memory, etc... |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
finishExporting()
Shuts down the Exporter. |
IExport |
getAsIExport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IExportColorspaceSettings |
getAsIExportColorspaceSettings()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IExportSVG |
getAsIExportSVG()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IExportVector |
getAsIExportVector()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IExportVectorOptions |
getAsIExportVectorOptions()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IExportVectorOptionsEx |
getAsIExportVectorOptionsEx()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IOutputRasterSettings |
getAsIOutputRasterSettings()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISettingsInRegistry |
getAsISettingsInRegistry()
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. |
static java.lang.String |
getClsid()
|
int |
getColorspace()
Colorspace option. |
java.lang.String |
getExportFileName()
The Export File Name. |
int |
getExportPictureSymbolOptions()
Options describing what to do with Picture Symbol on export. |
java.lang.String |
getFilter()
Filter String used in the CFileDialog class. |
int |
getMaxVertexNumber()
Maximum number of vertices in feature. |
java.lang.String |
getName()
The Name of the Exporter. |
IEnvelope |
getPixelBounds()
The Export Bounds in Pixels (The Pixel Bounds of the Export surface). |
int |
getPriority()
Exporter's priority - the order of appearance in the user interface. |
int |
getResampleRatio()
This coefficient states the scale level for the raster when it goes to output. |
double |
getResolution()
The Export Resolution. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
Supported Platforms |
boolean |
isCompressed()
Indicates if the SVG file is compressed. |
boolean |
isEmbedFonts()
The Embed Fonts option. |
boolean |
isPolygonizeMarkers()
Polygonize (represent as vectors instead of fonts) marker symbols option. |
void |
restoreDefault()
Restore the default object settings. |
void |
restoreForCurrentUser(java.lang.String bstrRegPath)
Restore object settings. |
void |
setColorspace(int pcolorspace)
Colorspace option. |
void |
setCompressed(boolean compressed)
Indicates if the SVG file is compressed. |
void |
setEmbedFonts(boolean embedFonts)
The Embed Fonts option. |
void |
setExportFileName(java.lang.String fileName)
The Export File Name. |
void |
setExportPictureSymbolOptions(int opt)
Options describing what to do with Picture Symbol on export. |
void |
setMaxVertexNumber(int lMaxVertices)
Maximum number of vertices in feature. |
void |
setPixelBounds(IEnvelope pixelBounds)
The Export Bounds in Pixels (The Pixel Bounds of the Export surface). |
void |
setPolygonizeMarkers(boolean bPolygonizeMarkers)
Polygonize (represent as vectors instead of fonts) marker symbols option. |
void |
setResampleRatio(int pRatio)
This coefficient states the scale level for the raster when it goes to output. |
void |
setResolution(double res)
The Export Resolution. |
void |
setStepProgressorByRef(IStepProgressor rhs1)
Export will update a Progress Bar if StepProgressor is not NULL. |
void |
setTrackCancelByRef(ITrackCancel rhs1)
Export will react on Cancel if TrackCancel is not NULL. |
int |
startExporting()
Initializes the Exporter. |
void |
storeForCurrentUser(java.lang.String bstrRegPath)
Store object settings. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExportSVG()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public ExportSVG(java.lang.Object obj)
throws java.io.IOException
obj to ExportSVG. ExportSVG theExportSVG = (ExportSVG) 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 IExportVector getAsIExportVector()
public IExportVectorOptions getAsIExportVectorOptions()
public IExportVectorOptionsEx getAsIExportVectorOptionsEx()
public IExportSVG getAsIExportSVG()
public IExport getAsIExport()
public ISettingsInRegistry getAsISettingsInRegistry()
public IExportColorspaceSettings getAsIExportColorspaceSettings()
public ISupportErrorInfo getAsISupportErrorInfo()
public IOutputRasterSettings getAsIOutputRasterSettings()
public boolean equals(java.lang.Object o)
public int hashCode()
public void setPolygonizeMarkers(boolean bPolygonizeMarkers)
throws java.io.IOException,
AutomationException
IExportVectorOptions
setPolygonizeMarkers in interface IExportVectorOptionsbPolygonizeMarkers - The bPolygonizeMarkers (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPolygonizeMarkers()
throws java.io.IOException,
AutomationException
IExportVectorOptions
isPolygonizeMarkers in interface IExportVectorOptionsAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMaxVertexNumber(int lMaxVertices)
throws java.io.IOException,
AutomationException
IExportVectorOptions
setMaxVertexNumber in interface IExportVectorOptionslMaxVertices - The lMaxVertices (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxVertexNumber()
throws java.io.IOException,
AutomationException
IExportVectorOptions
getMaxVertexNumber in interface IExportVectorOptionsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExportPictureSymbolOptions(int opt)
throws java.io.IOException,
AutomationException
IExportVectorOptionsEx
setExportPictureSymbolOptions in interface IExportVectorOptionsExopt - A com.esri.arcgis.display.esriPictureSymbolOptions constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getExportPictureSymbolOptions()
throws java.io.IOException,
AutomationException
IExportVectorOptionsEx
getExportPictureSymbolOptions in interface IExportVectorOptionsExAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isCompressed()
throws java.io.IOException,
AutomationException
IExportSVG
isCompressed in interface IExportSVGAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCompressed(boolean compressed)
throws java.io.IOException,
AutomationException
IExportSVG
setCompressed in interface IExportSVGcompressed - The compressed (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setEmbedFonts(boolean embedFonts)
throws java.io.IOException,
AutomationException
IExportSVG
setEmbedFonts in interface IExportSVGembedFonts - The embedFonts (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEmbedFonts()
throws java.io.IOException,
AutomationException
IExportSVG
isEmbedFonts in interface IExportSVGjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
IExport
getName in interface IExportjava.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
IExportThis method is primarily used for defining the extension of the export file name within the Export Map dialog. The string contained in this value is a null-terminated pattern string that follows the standard for a Windows Open and Save As dialog filter. The value of this property can change according to the state of the export object. An ExportSVG object, for example, returns "SVG (*.svg)|*.svg" when its compression property is False, and "Compressed SVG (*.svgz)|*.svgz" when the compression property is True. This makes the Filter ideal for automatically assigning the appropriate file name extension for an export file.
getFilter in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getPriority()
throws java.io.IOException,
AutomationException
IExportPrimarily used by export dialogs for ordering the appearance of export formats in the 'Save As...' pulldown list. By ordering through this property, the export dialog can group similar formats together. For example, all raster export formats are grouped together in the 'Save As...' list.
getPriority in interface IExportjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStepProgressorByRef(IStepProgressor rhs1)
throws java.io.IOException,
AutomationException
IExport
setStepProgressorByRef in interface IExportrhs1 - 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 setTrackCancelByRef(ITrackCancel rhs1)
throws java.io.IOException,
AutomationException
IExport
setTrackCancelByRef in interface IExportrhs1 - 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 setPixelBounds(IEnvelope pixelBounds)
throws java.io.IOException,
AutomationException
IExport
setPixelBounds in interface IExportpixelBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnvelope getPixelBounds()
throws java.io.IOException,
AutomationException
IExport
The PixelBounds represents the height and width of the export image in device units (usually pixels for a export file). To set up values to use in this property, get the height and width of the image draw to screen. Then multiply each dimension by the ratio of the output resolution to screen resolution.
getPixelBounds in interface IExportjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExportFileName(java.lang.String fileName)
throws java.io.IOException,
AutomationException
IExport
setExportFileName in interface IExportfileName - The fileName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getExportFileName()
throws java.io.IOException,
AutomationException
IExportYou must assign a value to the ExportFileName property before calling the IExport::StartExporting() method. There are two exceptions to this. If IExport is controlling a ExportBMP or ExportEMF object, you can assign an empty string to the ExportFileName property without an error being raised on StartExporting(). This is to allow cases where the application will use the export object as a intermediate container for a drawing, and won't be written to an export file.
getExportFileName in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setResolution(double res)
throws java.io.IOException,
AutomationException
IExport
setResolution in interface IExportres - The res (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getResolution()
throws java.io.IOException,
AutomationException
IExport
getResolution in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int startExporting()
throws java.io.IOException,
AutomationException
IExportThe StartExporting method causes the export object to allocate memory for the export based on resolution, bit depth, and pixel bounds. The method returns a long that represents the hDC (Windows GDI Device Context handle) of the export object. After this method is called, the export object is ready to receive GDI draw instructions directed to its hDC.
startExporting in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void finishExporting()
throws java.io.IOException,
AutomationException
IExport
finishExporting in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void cleanup()
throws java.io.IOException,
AutomationException
IExport
cleanup in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void restoreForCurrentUser(java.lang.String bstrRegPath)
throws java.io.IOException,
AutomationException
ISettingsInRegistry
restoreForCurrentUser in interface ISettingsInRegistrybstrRegPath - The bstrRegPath (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void storeForCurrentUser(java.lang.String bstrRegPath)
throws java.io.IOException,
AutomationException
ISettingsInRegistry
storeForCurrentUser in interface ISettingsInRegistrybstrRegPath - The bstrRegPath (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void restoreDefault()
throws java.io.IOException,
AutomationException
ISettingsInRegistry
restoreDefault in interface ISettingsInRegistryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColorspace(int pcolorspace)
throws java.io.IOException,
AutomationException
IExportColorspaceSettings
setColorspace in interface IExportColorspaceSettingspcolorspace - A com.esri.arcgis.output.esriExportColorspace constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getColorspace()
throws java.io.IOException,
AutomationException
IExportColorspaceSettings
getColorspace in interface IExportColorspaceSettingsAutomationException - 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 int getResampleRatio()
throws java.io.IOException,
AutomationException
IOutputRasterSettings
getResampleRatio in interface IOutputRasterSettingsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResampleRatio(int pRatio)
throws java.io.IOException,
AutomationException
IOutputRasterSettings
setResampleRatio in interface IOutputRasterSettingspRatio - The pRatio (in)
java.io.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 | |||||||||