ArcObjects Library Reference (DefenseSolutions)  

ICreateBitmap2.DrawToDIBWithExtent Method

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

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

[C++]
HRESULT DrawToDIBWithExtent(
  IEnvelope* pExtent,
  long lWidth,
  long lHeight,
  IColor* pBackColor,
  OLE_HANDLE* pBitmap
);
[C++]

Parameters

pExtent [in]

  pExtent is a parameter of type IEnvelope

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

  pBackColor is a parameter of type IColor

pBitmap [out, retval]

  pBitmap is a parameter of type OLE_HANDLE

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

See Also

ICreateBitmap2 Interface