ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / C1.Framework Namespace / Theme Class / LoadImage Method
System.Xml.XmlNode that contains the image information.

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

    Parameters

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

    Return Value

    An System.Drawing.Image object.
    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