Click or drag to resize

TextBlockDumpToString Method

Returns a string containing all data about the block and his children.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public string DumpToString(
	bool userFriendly = true
)

Parameters

userFriendly (Optional)
Type: SystemBoolean

Return Value

Type: String
A 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.
Examples
Example 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