How to set the picture symbol vectorization settings for vector exports


Summary The IExportVectorOptionsEx interface allows the developer to choose whether bitmap marker symbols and bitmap fills are rasterized during output or vectorized.

Setting the picture symbol vectorization settings for vector exports

To access these settings, use the IExportVectorOptionsEx interface. IExportVectorOptionsEx can be cast onto an IExport object to set the ExportPictureSymbolOptions property. The following shows the three possible values:
Constant
Value
Description
esriPSORasterize
0
Rasterize layers with picture symbols (the default).
esriPSORasterizeIfRasterData
1
Rasterize layers with picture symbols only if the symbols have raster data.
esriPSOVectorize
2
Vectorize layers with picture symbols.
See the following code example:
[Java]
if (docExport instanceof IExportVector){
    //Assign the IExportVectorOptionsEx property to control the rendering of picture marker symbols.
    docExportVectorOptionsEx = (IExportVectorOptionsEx)docExport;
    docExportVectorOptionsEx.exportPictureSymbolOptions
        (esriPictureSymbolOptions.esriPSOVectorize);
}






Development licensing Deployment licensing
ArcView ArcView
ArcEditor ArcEditor
ArcInfo ArcInfo
Engine Developer Kit Engine Runtime