[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Bitmap1.Map

Map Method

Map(MapOptions)

Maps the given bitmap into memory.

Declaration
public DataRectangle Map(MapOptions options)
Public Function Map(options As MapOptions) As DataRectangle
Parameters
Type Name Description
MapOptions options

The options used in mapping the bitmap into memory.

Returns
Type Description
DataRectangle

a reference to the rectangle that is mapped into memory

Remarks

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.

Map(MapOptions, out MappedRectangle)

HRESULT ID2D1Bitmap1::Map([In] D2D1_MAP_OPTIONS options,[Out] D2D1_MAPPED_RECT* mappedRect)

Declaration
public void Map(MapOptions options, out MappedRectangle mappedRect)
Public Sub Map(options As MapOptions, ByRef mappedRect As MappedRectangle)
Parameters
Type Name Description
MapOptions options
MappedRectangle mappedRect