Parses the text with data of the block and his children.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static TextBlock Parse(
string str,
out string error
)
Parameters
- str String
- The data string.
- error String
- The information on an error.
Return Value
TextBlockTextBlock if the block has been parsed; otherwise,
null.
Remarks
ExampleExample of loading of data of the block from a stream.
FileStream stream = ...;
StreamReader streamReader = new StreamReader( stream );
string error;
TextBlock block = TextBlock.Parse( streamReader.ReadToEnd(), out error );
streamReader.Dispose();
See AlsoReference
[!:NeoAxis.TextBlock.DumpToString()]