Sign in Join
FPDoc Onlineexperiment

TDOMDocument.CreateTextNode function

Member of TDOMDocumentpublicIn unit Laz2_DOM

Creates a new DOM Text node with the specified value.

Declaration

pascal
function CreateTextNode(const data: DOMString): TDOMText

Description

CreateTextNode is a TDOMText function used to create a DOM Text node with the specified value. Data contains the value assigned to the NodeValue property in the TDOMText class instance. CreateTextNode calls the Alloc method to enable memory management for the new TDOMText class instance.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.