ArcObjects Library Reference (DefenseSolutions)  

IExportGraphic.ExportToFile Method

Exports a cached graphic to an image file (bmp, png, gif, tif, or jpg).

ERROR: Syntax information about IExportGraphic.ExportToFile may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.DefenseSolutions.dll

[C++]
HRESULT ExportToFile(
  IDisplay* Display,
  BSTR Filename,
  IEnvelope* Extent,
  long HeightInPixels,
  long ImageHeight,
  long ImageWidth,
  double ScaleBy,
  double Resolution,
  VARIANT_BOOL OutputWorldFile,
  VARIANT_BOOL* Succeeded
);
[C++]

Parameters

Display [in]

  Display is a parameter of type IDisplay

Filename [in]   Filename is a parameter of type BSTR Extent [in]

  Extent is a parameter of type IEnvelope

HeightInPixels [in]   HeightInPixels is a parameter of type long ImageHeight [in]   ImageHeight is a parameter of type long ImageWidth [in]   ImageWidth is a parameter of type long ScaleBy [in]   ScaleBy is a parameter of type double Resolution [in]   Resolution is a parameter of type double OutputWorldFile [in]   OutputWorldFile is a parameter of type VARIANT_BOOL Succeeded [out, retval]   Succeeded is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

See Also

IExportGraphic Interface