VintaSoft Barcode .NET SDK 16.0: Руководство для .NET разработчика
Vintasoft.Primitives Namespace / VintasoftRectF Structure / FromLTRB(Single,Single,Single,Single) Method
Синтаксис Exceptions Требования Смотрите также
В этом разделе
FromLTRB(Single,Single,Single,Single) Метод (VintasoftRectF)
В этом разделе
Creates a T:Vintasoft.Primitives.VintasoftRectF 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 Single, _
ByVal top
The y-coordinate of the upper-left corner of the rectangular region.
As Single, _
ByVal right
The x-coordinate of the lower-right corner of the rectangular region.
As Single, _
ByVal bottom
The y-coordinate of the lower-right corner of the rectangular region.
As Single _
) As VintasoftRectF
public static VintasoftRectF FromLTRB(
float left,
float top,
float right,
float 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 T:Vintasoft.Primitives.VintasoftRectF that this method creates.
Исключения
ИсключениеОписание
Thrown if {i}right{/i} is less than {i}left{/i} or {i}bottom{/i} is less than {i}top{/i}.
Требования

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

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