BASS.NET API for the Un4seen BASS Audio LibraryBassMidiBASS_MIDI_FontGetPresetFonts Method BASS.NET API for the Un4seen BASS Audio Library
Retrieves the presets in a soundfont.

Namespace: Un4seen.Bass.AddOn.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public static BASS_MIDI_FONT[] BASS_MIDI_FontGetPresetFonts(
	int handle
)

Parameters

handle
Type: SystemInt32
The soundfont handle to get the preset name from.

Return Value

Type: BASS_MIDI_FONT
If successful, an array of BASS_MIDI_FONT instances is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

See Also

Reference