Include
#include "l_bitmap.h"
Syntax
L_LTFIL_API L_INT L_GetFormatMimeType(nFormat, pszMimeType, uMimeTypeCount)
| L_INT nFormat; | file format | |
| L_TCHAR* pszMimeType; | pointer to variable to be updated | |
| L_UINT uMimeTypeCount; | size in of string characters |
Summary
Gets the MIME type for the specified file format.
Parameters
| Parameter | Description | |
|---|---|---|
| nFormat | The file format value. For possible values, refer to L_FileInfo. | |
| pszMimeType | Pointer to a variable to be updated with the associated MIME type. | |
| uMimeTypeCount | Size in characters of the string buffer pointed to by pszMimeType. |
Returns
| SUCCESS | The function was successful. | |
| < 1 | An error occurred. Refer to Return Codes. |
Remarks
The buffer for the string should be large enough to hold the string that will be copied.
Required DLLs and Libraries
LTFIL
File format DLLs
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Win32, x64, Linux.
| Functions: | L_FileInfo, L_LoadBitmap, L_GetFormatFileExtension | |
| Topics: | Raster Image Functions: Loading Files | |
| Raster Image Functions: Redirecting Input and Output | ||
| Loading and Saving Images |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
