SmartAdapter.FieldRectangleAttribute

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 : Attribute

This attribute can be used to specify a rectangle by providing either its dimensions or a string representation.

Constructors

FieldRectangleAttribute(x, y, width, height)

Initializes a new instance of the FieldRectangleAttribute class with specified dimensions.

Name
Type
Description

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.

FieldRectangleAttribute(rectangle)

Initializes a new instance of the FieldRectangleAttribute class with a rectangle specified as a string.

Name
Type
Description

rectangle

A string representation of the rectangle.

The string should be in a format that can be converted to a Rectangle using the type converter.

Properties

Rectangle

Rectangle: Gets or sets the Rectangle associated with this attribute.

Last updated