Table of Contents

Class PropertySize

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

Represents a size property with horizontal and vertical dimensions for DOM items.

public class PropertySize : DomItem
Inheritance
PropertySize
Inherited Members

Properties

Horizontal

Gets or sets the horizontal size as a string.

public string Horizontal { get; set; }

Property Value

string

Vertical

Gets or sets the vertical size as a string.

public string Vertical { get; set; }

Property Value

string

Methods

Get()

Gets the size as a Size object.

public Size Get()

Returns

Size

A Size representing the horizontal and vertical values.

Exceptions

InvalidCastException

Thrown if the property values cannot be converted to integers.

Set(Size)

Sets the horizontal and vertical size using a Size object.

public void Set(Size size)

Parameters

size Size

The Size to set.

Set(int, int)

Sets the horizontal and vertical size using integer values.

public void Set(int width, int height)

Parameters

width int

The width to set.

height int

The height to set.