FontDescriptionProcessor.Process Method

Note

This method is available only when developing for Windows.

Creates SpriteFontContent from a FontDescription object.

Syntax

'Declaration
Public Overrides Function Process ( _
         input As FontDescription, _
         context As ContentProcessorContext _
) As SpriteFontContent 
public override SpriteFontContent Process (
         FontDescription input,
         ContentProcessorContext context
)
public:
SpriteFontContent Process(
         FontDescription input,
         ContentProcessorContext context
) override

Parameters

Return Value

Type: SpriteFontContent
The font data.

Exceptions

Exception type Condition
ArgumentNullException input is null.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

FontDescriptionProcessor Class
FontDescriptionProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace

Platforms

Windows 7, Windows Vista, Windows XP