# TextAreaNode
Class Inherits TextFieldNode
## About
`TextAreaNode` represents a multiline HTML text area. Its editable text is the control's default value, and its inspector exposes field attributes together with rows, columns, placeholder, wrapping, length, and related textarea properties.
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| AddVectorPDFAnnotations | pdf As PDFDocument <br> pageNumber As Integer <br> offsetX As Double <br> offsetY As Double <br> usedNames As Dictionary <br> formAction As String = "" | (None) | Adds this node's interactive annotations and form controls to a vector PDF page. Override for custom nodes. |
| CanImportHTML | element As HTMLSupport.HTMLElement | Boolean | Returns whether this node can import the supplied HTML element. |
| Constructor | value As String = "" | (None) | Creates a new text area node. |
| Duplicate | (None) | Node | Returns an indepent copy of this node. |
| EditingHandleReturn | (None) | Boolean | Allows Return to insert a new line into the text area value. |
| FromHTML | element As HTMLSupport.HTMLElement | Boolean | Imports a textarea element. |
| FromJSON | data As JSONItem | Boolean | Restores state from JSON. |
| HTMLTags | (None) | String | Returns the HTML tag names supported by this node type. |
| InspectorSections | (None) | InspectorSection | Returns the user-editable text area properties exposed by the inspector. |
| LocalizeToolbarItem | strings As GraffitiProEditor.Editor | (None) | Sets this node type's toolbar item text from the supplied editor's localization properties. The editor calls it when the type is registered, when the editor opens, and when a locale pack is applied to the editor. A custom node type can override it to localize its own toolbar item. |
| PerformToolbarAction | editor As Editor <br> selectedItem As DesktopMenuItem | (None) | Handles activation of the main-toolbar item. |
| PreferredHeight | g As Graphics <br> availableWidth As Double | Double | Returns the preferred height. |
| ToHTML | (None) | String | Returns an HTML representation of this content. |
| ToJSON | (None) | JSONItem | Returns the persistent state as JSON. |
| TypeName | (None) | String | Returns the display name. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Columns | Integer | (None) | Gets or sets the visible column count. |
| Rows | Integer | (None) | Gets or sets the visible row count. |
| Wrap | String | "soft" | Gets or sets the wrapping mode. |
## Notes
Text areas extend text fields with multiline dimensions and wrapping behavior.
### JSON Format
`columns` and `rows` are integers. `wrap` is the HTML-compatible string value, normally `soft`, `hard`, or `off`. The default text value and remaining field attributes use the inherited `TextFieldNode`, `FormControlNode`, and `TextNode` JSON fields.
`columns` is omitted when `0`, `rows` when `4`, and `wrap` when it is `soft`; missing names restore those defaults.