PocketPlanner Programmer's Guide

XmlSerializationContext.ReadFont Method

See Also

Reads a Font object with the specified name.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public Font ReadFont (
    string elementName,
    XmlElement parentElement
)

Visual Basic

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

 Parameters

elementName
The name of the element containing the .NET Font object.
parentElement
The parent element of the node with the specified name.

 Return Value

A .NET Font object. Returns null (Nothing in Visual Basic) if there is no element with the specified name under the specified parent.

 See Also