[]
Maps the given bitmap into memory.
public DataRectangle Map(MapOptions options)
Type | Name | Description |
---|---|---|
MapOptions | options | The options used in mapping the bitmap into memory. |
Type | Description |
---|---|
DataRectangle | a reference to the rectangle that is mapped into memory |
The bitmap must have been created with the Read flag specified. The caller should try to unmap the memory as quickly as is feasable to release occupied DMA aperture memory.
HRESULT ID2D1Bitmap1::Map([In] D2D1_MAP_OPTIONS options,[Out] D2D1_MAPPED_RECT* mappedRect)
public void Map(MapOptions options, out MappedRectangle mappedRect)
Type | Name | Description |
---|---|---|
MapOptions | options | |
MappedRectangle | mappedRect |