TextBlockDumpToString Method |
Returns a string containing all data about the block and his children.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic string DumpToString(
bool userFriendly = true
)
Parameters
- userFriendly Boolean (Optional)
-
Return Value
StringA string containing all data about the block and his children.
Remarks
This method is applied at preservation of data of the block in a file.
ExampleExample of preservation of data of the block in a file.
TextBlock block = ...
StreamWriter writer = new StreamWriter( fileName );
writer.Write( block.DumpToString() );
writer.Close();
See Also