MindFusion.Wpf Pack Programmer's Guide
XmlContext.ReadImage Method
See Also
 





Reads an ImageSource object with the specified name.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public ImageSource ReadImage (
    XName elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function ReadImage( _
    elementName As XName, _
    parentElement As XElement _
) As ImageSource

 Parameters

elementName

An instance of the .NET XName class that specifies the element to read.

parentElement

An instance of the .NET XElement class that specifies the parent element.

 Return Value

An instance of the WPF ImageSource class representing the read image, or null (Nothing in Visual Basic) if reading has failed.

 See Also

XmlContext Members
XmlContext Class
MindFusion.Spreadsheet.Wpf Namespace