[]
        
(Showing Draft Content)

C1.Framework.Theme.LoadImage

LoadImage Method

LoadImage(XmlNode)

Loads an image from the Xml stream.

Declaration
protected virtual Image LoadImage(XmlNode node)
Parameters
Type Name Description
XmlNode node

XmlNode that contains the image information.

Returns
Type Description
Image

An 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.