Table of Contents

Class PropertyRect

Namespace
combit.Reporting.Dom
Assembly
combit.ListLabel31.CrossPlatform.dll

Represents a rectangular area with position and size expressions (Left/Top/Width/Height). Provides helper methods to set and evaluate coordinates.

public class PropertyRect : DomItem
Inheritance
PropertyRect
Inherited Members

Properties

Height

Gets or sets the height (literal or expression).

public string Height { get; set; }

Property Value

string

Left

Gets or sets the left coordinate (literal or expression).

public string Left { get; set; }

Property Value

string

Top

Gets or sets the top coordinate (literal or expression).

public string Top { get; set; }

Property Value

string

Width

Gets or sets the width (literal or expression).

public string Width { get; set; }

Property Value

string

Methods

Get()

Evaluates the rectangle to numeric coordinates interpreting formulas where required.

public Rectangle Get()

Returns

Rectangle

Set(Rectangle)

Sets the rectangle coordinates from a Rectangle value.

public void Set(Rectangle rect)

Parameters

rect Rectangle

Set(int, int, int, int)

Sets the rectangle coordinates from integer values.

public void Set(int left, int top, int width, int height)

Parameters

left int
top int
width int
height int

Set(string, string, string, string)

Sets the rectangle coordinates from string values (expressions or literals).

public void Set(string left, string top, string width, string height)

Parameters

left string
top string
width string
height string