All pages
Powered by GitBook
1 of 1

Loading...

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
Public Class FieldRectangleAttribute
    Inherits 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 class with specified dimensions.

Name
Type
Description

FieldRectangleAttribute(rectangle)

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

Name
Type
Description

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

Properties

Rectangle

: Gets or sets the associated with this attribute.

x

Int32

The x-coordinate of the upper-left corner of the rectangle.

y

Int32

The y-coordinate of the upper-left corner of the rectangle.

width

Int32

The width of the rectangle.

height

Int32

The height of the rectangle.

rectangle

String

A string representation of the rectangle.

FieldRectangleAttribute
FieldRectangleAttribute
Rectangle
Rectangle
Rectangle