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
Left
Gets or sets the left coordinate (literal or expression).
public string Left { get; set; }
Property Value
Top
Gets or sets the top coordinate (literal or expression).
public string Top { get; set; }
Property Value
Width
Gets or sets the width (literal or expression).
public string Width { get; set; }
Property Value
Methods
Get()
Evaluates the rectangle to numeric coordinates interpreting formulas where required.
public Rectangle Get()
Returns
Set(Rectangle)
Sets the rectangle coordinates from a Rectangle value.
public void Set(Rectangle rect)
Parameters
rectRectangle
Set(int, int, int, int)
Sets the rectangle coordinates from integer values.
public void Set(int left, int top, int width, int height)
Parameters
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)