ArcObjects Library Reference (DefenseSolutions)  

ICreateBitmap.DrawToDIB Method

Writes a cached graphic to an in-memory device independent bitmap.

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

[C++]
HRESULT DrawToDIB(
  IDisplay* Display,
  long lWidth,
  long lHeight,
  double dExpand,
  IColor* pBackColor,
  Long* pBitmap
);
[C++]

Parameters

Display [in]

  Display is a parameter of type IDisplay

lWidth [in]   lWidth is a parameter of type long lHeight [in]   lHeight is a parameter of type long dExpand [in]   dExpand is a parameter of type double pBackColor [in]

  pBackColor is a parameter of type IColor

pBitmap [out, retval]   pBitmap is a parameter of type Long

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

See Also

ICreateBitmap Interface

.NET Snippets

Export MOLE Cached Graphic To Bitmap