Serializes an image to XML as a base-64 encoded string to a specified element with the specified writer.
Syntax
'Declaration
Public Shared Sub SerializeImage( _
ByVal As Image, _
ByVal As String, _
ByVal As XmlTextWriter _
)
'Usage
Dim image As Image
Dim elementName As String
Dim w As XmlTextWriter
Serializer.SerializeImage(image, elementName, w)
public static void SerializeImage(
Image ,
string ,
XmlTextWriter
)
Parameters
- image
- Image object to serialize
- elementName
- Name of XML element
- w
- XmlTextWriter
See Also