ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DXGI Namespace / Surface Class / Map Method / Map(MapFlags) Method
Flags specifying CPU access permissions.

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

    Parameters

    flags
    Flags specifying CPU access permissions.

    Return Value

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