VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Primitives Namespace / VintasoftRectI Structure / FromLTRB(Int32,Int32,Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    FromLTRB(Int32,Int32,Int32,Int32) Method (VintasoftRectI)
    In This Topic
    Creates a VintasoftRectI structure with upper-left corner and lower-right corner at the specified locations.
    Syntax
    'Declaration
    
    Public Shared Function FromLTRB( _
    ByVal left
    The x-coordinate of the upper-left corner of the rectangular region.
    As System.Int32, _
    ByVal top
    The y-coordinate of the upper-left corner of the rectangular region.
    As System.Int32, _
    ByVal right
    The x-coordinate of the lower-right corner of the rectangular region.
    As System.Int32, _
    ByVal bottom
    The y-coordinate of the lower-right corner of the rectangular region.
    As System.Int32 _
    ) As VintasoftRectI
    public static VintasoftRectI FromLTRB(
    System.Int32 left,
    System.Int32 top,
    System.Int32 right,
    System.Int32 bottom
    )
    public: static VintasoftRectI FromLTRB(
    System.Int32 left,
    System.Int32 top,
    System.Int32 right,
    System.Int32 bottom
    )
    public:
    static VintasoftRectI FromLTRB(
    System.Int32 left,
    System.Int32 top,
    System.Int32 right,
    System.Int32 bottom
    )

    Parameters

    left
    The x-coordinate of the upper-left corner of the rectangular region.
    top
    The y-coordinate of the upper-left corner of the rectangular region.
    right
    The x-coordinate of the lower-right corner of the rectangular region.
    bottom
    The y-coordinate of the lower-right corner of the rectangular region.

    Return Value

    The new VintasoftRectI that this method creates.
    Exceptions
    ExceptionDescription
    Thrown if right is less than left or bottom is less than top.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also