ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 System.Integer, _
       ByVal top As System.Integer, _
       ByVal front As System.Integer, _
       ByVal right As System.Integer, _
       ByVal bottom As System.Integer, _
       ByVal back As System.Integer _
    )
    public ResourceRegion( 
       System.int left,
       System.int top,
       System.int front,
       System.int right,
       System.int bottom,
       System.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