Font.PreloadCharacters(Int32,Int32) Method (Microsoft.DirectX.Direct3D)

Loads a series of characters into video memory to improve the efficiency of rendering to a device.

Definition

Visual Basic Public Sub PreloadCharacters( _
    ByVal first As Integer, _
    ByVal last As Integer _
)
C# public void PreloadCharacters(
    int first,
    int last
);
C++ public:
void PreloadCharacters(
    int first,
    int last
);
JScript public function PreloadCharacters(
    first : int,
    last : int
);

Parameters

first System.Int32
Identifier of the first character to load into video memory.
last System.Int32
Identifier of the last character to load into video memory.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

InvalidDataException

The data is invalid.