ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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