Wisej.AI.SmartAdapter FieldRectangleAttribute
Namespace: Wisej.AI
Assembly: Wisej.AI (3.5.0.0)
Represents an attribute that defines a rectangular area using a Rectangle associated to a property or a control.
public class FieldRectangleAttribute : AttributePublic Class FieldRectangleAttribute
Inherits AttributeThis attribute can be used to specify a rectangle by providing either its dimensions or a string representation.
Initializes a new instance of the class with specified dimensions.
Initializes a new instance of the class with a rectangle specified as a string.
The string should be in a format that can be converted to a using the type converter.
: Gets or sets the associated with this attribute.
x
The x-coordinate of the upper-left corner of the rectangle.
y
The y-coordinate of the upper-left corner of the rectangle.
width
The width of the rectangle.
height
The height of the rectangle.
rectangle
A string representation of the rectangle.