ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / ResourceRegion Structure / ResourceRegion Constructor
Left coordinates (inclusive)
Top coordinates (inclusive)
Front coordinates (inclusive)
Right coordinates (exclusive)
Bottom coordinates (exclusive)
Back coordinates (exclusive)

In This Topic
    ResourceRegion Constructor
    In This Topic
    Initialize a new instance of ResourceRegion struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal left As Integer, _
       ByVal top As Integer, _
       ByVal front As Integer, _
       ByVal right As Integer, _
       ByVal bottom As Integer, _
       ByVal back As Integer _
    )
    public ResourceRegion( 
       int left,
       int top,
       int front,
       int right,
       int bottom,
       int back
    )

    Parameters

    left
    Left coordinates (inclusive)
    top
    Top coordinates (inclusive)
    front
    Front coordinates (inclusive)
    right
    Right coordinates (exclusive)
    bottom
    Bottom coordinates (exclusive)
    back
    Back coordinates (exclusive)
    Remarks
    • For a Width of 1 pixels, (right - left) = 1. If left = 0, right = Width.
    • For a Height of 1 pixels, (bottom - top) = 1. If top = 0, bottom = Height.
    • For a Depth of 1 pixels, (back - front) = 1. If front = 0, back = Depth.
    See Also