Serializes the ending style to an XML document.
public virtual XmlNode Serialize(
AnnSerializeOptions options,
XmlNode parentNode,
XmlDocument document,
string elementName
)
Public Overridable Function Serialize(
ByVal options As AnnSerializeOptions,
ByVal parentNode As XmlNode,
ByVal document As XmlDocument,
ByVal elementName As String
) As XmlNode
public:
virtual XmlNode^ Serialize(
AnnSerializeOptions^ options,
XmlNode^ parentNode,
XmlDocument^ document,
String^ elementName
)
options
Serialize options.
parentNode
The parent node into which the style's data will be saved.
document
The XML document that will contain the style's data.
elementName
The style name that will be saved to the XML document.
The node that the inherited types should write their properties on.
Serialize is called by the framework when the state of this style is to be saved. The style must then use the XML document and parent node to add all the properties that need to be serialized.
Deserialize is called by the framework when the state of this style is to be loaded. The style must then use the XML document and node to read all the properties previously saved.
For more information, refer to Implementing User-Defined Objects With LEADTOOLS Annotations.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document