Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / Serializer Class / SerializeImage Method
Image object to serialize
Name of XML element
XmlTextWriter


In This Topic
    SerializeImage Method
    In This Topic
    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 image As Image, _
       ByVal elementName As String, _
       ByVal w 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 image,
       string elementName,
       XmlTextWriter w
    )

    Parameters

    image
    Image object to serialize
    elementName
    Name of XML element
    w
    XmlTextWriter
    See Also