Available in the LEADTOOLS Imaging toolkit. |
ShortValue example for C++ 5.0 and later
ILEADRasterVariant_U * pltRasVar=NULL;
pltRasVar->PutEnableMethodErrors(FALSE);
pltRasVar->PutType(VALUE_SHORT);
pltRasVar->PutShortValue(5);
if (pltRasVar->GetError() == 0)
::MessageBox(NULL, TEXT("The short value is set correctly"), TEXT("Notice!"), MB_OK);