VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.Primitives Namespace / VintasoftRect Structure / FromLTRB(Double,Double,Double,Double) Method
Синтаксис Exceptions Требования Смотрите также
В этом разделе
    FromLTRB(Double,Double,Double,Double) Метод (VintasoftRect)
    В этом разделе
    Creates a VintasoftRect structure with upper-left corner and lower-right corner at the specified locations.
    Синтаксис
    'Declaration
    
    Public Shared Function FromLTRB( _
    ByVal left
    The x-coordinate of the upper-left corner of the rectangular region.
    As Double, _
    ByVal top
    The y-coordinate of the upper-left corner of the rectangular region.
    As Double, _
    ByVal right
    The x-coordinate of the lower-right corner of the rectangular region.
    As Double, _
    ByVal bottom
    The y-coordinate of the lower-right corner of the rectangular region.
    As Double _
    ) As VintasoftRect
    public static VintasoftRect FromLTRB(
    double left,
    double top,
    double right,
    double bottom
    )
    public: static VintasoftRect FromLTRB(
    double left,
    double top,
    double right,
    double bottom
    )
    public:
    static VintasoftRect FromLTRB(
    double left,
    double top,
    double right,
    double 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 VintasoftRect that this method creates.
    Исключения
    ИсключениеОписание
    Thrown if right is less than left or bottom is less than top.
    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также