TextElement

TextElement<T> constructor

Initializes new instance of TextElement class.

public TextElement(T value, double x, double y, double width, double height)
Parameter Type Description
value T The text element value.
x Double The X coordinate of the highest left point on the page layout where the rectangle that contains element begins.
y Double The Y coordinate of the highest left point on the page layout where the rectangle that contains element begins.
width Double The width of the rectangle which contains the element (in pixels).
height Double The height of the rectangle which contains the element (in pixels).

Exceptions

exception condition
ArgumentNullException Thrown when value is null.
ArgumentException Thrown when width is less or equal to zero.
ArgumentException Thrown when height is less or equal to zero.

See Also