Pascal
function tsImageGetFormat(ImageID: tsImageID): tsEnum;
C/C++
tsEnum tsImageGetFormat(tsImageID ImageID);
This function queres the format of the image. For an complete list of all supported formats look in the format table. If the image is empty the format will be TS_FORMAT_EMPTY.
|
Tip |
|---|---|
|
This function calls tsImageGetInfo internally. If you need more than one information from an font reduce overhead and call tsImageGetInfo instead. |
|
The ImageID from which the infos will be quered.
Return value is the format of the image. For an complete list of all formats
If there was no context bound.
This will happen if you pass an invalid ImageID to this function.