Returns a serialized form of the diagram as string
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public string SaveToString ( |
Visual Basic
![]() |
---|
Public Function SaveToString( _ |
A member of the SaveToStringFormat enumeration.
A string containing the encoded diagram data.
The Base64 formats represent the data returned by SaveToXml as an ASCII string. There are no special characters in the returned string, so the result can be easily stored in a database field or embedded into an XML document. That might be used also for transferring a diagram between a web page with embedded MindFusion.Diagramming and a web server, passing the string as a value of a hidden HTML field.
When using Xml, the diagram is saved in XML format. The same format is supported by the SaveToXml and LoadFromXml methods.
MindFusion.Diagramming for WinUI Programmer's Guide | © 2024 MindFusion |