ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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