Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- input
Type: FontDescription
Description of the font to build. - context
Type: ContentProcessorContext
Context for the specified processor.
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