ILTStlImgWrtUserCallback Interface

This is a user callback interface that should be implemented and registered using ILTStlImgWrt::SaveOptionsCallback.

Methods

HRESULT SaveOptionsProc (BSTR *pstrFileName, SaveCallbackFlagsConstants *pSaveFlags, long lFrameNumber, VARIANT_BOOL bMultiPage)

Description

This method is called by the filter for each frame.

Parameters

pstrFileName

String containing the new output file name for the current frame. If you do not want to change the output filename, pass NULL.

pSaveFlags

Flag that indicates how the callback should handle the frame.

lFrameNumber

Contains the current passed frame index.

bMultiPage

If the value is VARIANT_TRUE, then the output file is a multipage file. If the value is VARIANT_FALSE, then the output file is not a multipage file.

Returns

Return Description
S_OK Successful.
Error code Otherwise.
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.