TextElement
Leave feedback
On this page
Initializes new instance of TextElement class.
public TextElement()
- class TextElement<T>
- namespace GroupDocs.Viewer.Results
- assembly GroupDocs.Viewer
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). |
| 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. |
- class TextElement<T>
- namespace GroupDocs.Viewer.Results
- assembly GroupDocs.Viewer
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.