ImageGear Professional DLL v18.1 for Windows
FNIGGUI_FORMAT_DETECT
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > GUI Component API Reference > GUI Component Callback Functions Reference > FNIGGUI_FORMAT_DETECT

Glossary Item Box

A callback function that implements a file format detection routine.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI FNIGGUI_FORMAT_DETECT(
    LPVOID lpPrivate, 
    LPAT_MODE lpnFormat
);

Arguments:

Name Type Description
lpPrivate LPVOID A file name.
lpnFormat LPAT_MODE A pointer to a variable that will receive the Format ID.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear.

Sample:

GUI

©2014. Accusoft Corporation. All Rights Reserved.