Input for WinForms | ComponentOne
C1.Framework Namespace / Theme Class / LoadImage Method
System.Xml.XmlNode that contains the image information.

In This Topic
    LoadImage Method
    In This Topic
    Loads an image from the Xml stream.
    Syntax
    'Declaration
     
    
    Protected Overridable Function LoadImage( _
       ByVal node As XmlNode _
    ) As Image
    protected virtual Image LoadImage( 
       XmlNode node
    )

    Parameters

    node
    System.Xml.XmlNode that contains the image information.

    Return Value

    Remarks

    The first instance of each image is stored as node data (base 64-encoded). When this instance is loaded for the first time, the image is stored in an internal image list.

    Subsequent instances of the same image are not stored in the node as binary data; an "index" attribute is used instead that specifies the index of the image in the internal image collection.

    See Also