←Select platform

FromLTRB(float,float,float,float,AnnUnit) Method

Summary

Creates a AnnRectangle structure with the specified upper-left corner and lower-right corner and the specified unit of measure.

Syntax

C#
VB
C++
public static AnnRectangle FromLTRB( 
   float left, 
   float top, 
   float right, 
   float bottom, 
   AnnUnit unit 
) 
  
Public Overloads Shared Function FromLTRB( _ 
   ByVal left As Single, _ 
   ByVal top As Single, _ 
   ByVal right As Single, _ 
   ByVal bottom As Single, _ 
   ByVal unit As Leadtools.Annotations.AnnUnit _ 
) As Leadtools.Annotations.AnnRectangle 
public: 
static Leadtools.Annotations.AnnRectangle FromLTRB(  
   float left, 
   float top, 
   float right, 
   float bottom, 
   Leadtools.Annotations.AnnUnit unit 
)  

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.

unit
The AnnUnit value indicating the unit of measure for the rectangle.

Return Value

The new AnnRectangle that this method creates.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly