MindFusion.UI for WebForms Programmer's Guide

XmlPersistContext.ReadFont Method (String, XmlElement, Font)

See Also
 





Reads a Font object with the specified name.

Namespace: MindFusion.UI.Web
Assembly: MindFusion.UI.Web

 Syntax

C#  Copy Code

public Font ReadFont (
    string elementName,
    XmlElement parentElement,
    Font defaultFont
)

Visual Basic  Copy Code

Public Function ReadFont( _
    elementName As String, _
    parentElement As XmlElement, _
    defaultFont As Font _
) As Font

 Parameters

elementName

Type: String
A string specifying the name of the element.

parentElement

Type: XmlElement
The parent XML element.

defaultFont

Type: Font
A default value to use, if no Font is read.

 Return Value

Type: Font
The read Font value

 See Also