ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.DXGI Namespace / Surface Class / Map Method / Map(MapFlags,DataStream) Method
Flags specifying CPU access permissions.
A data stream.

In This Topic
    Map(MapFlags,DataStream) Method
    In This Topic
    Acquires access to the surface data.
    Syntax
    'Declaration
     
    Public Overloads Function Map( _
       ByVal flags As MapFlags, _
       ByRef dataStream As DataStream _
    ) As DataRectangle
    public DataRectangle Map( 
       MapFlags flags,
       out DataStream dataStream
    )

    Parameters

    flags
    Flags specifying CPU access permissions.
    dataStream
    A data stream.

    Return Value

    A C1.Win.DX.DataRectangle for accessing the mapped data, or null on failure.
    See Also