ILTStlImgWrtUserCallback Interface

User Interface

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

Interface Methods:

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

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. For a list of possible values, refer to SaveCallbackFlagsConstants.

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.

Description

This method is called by the filter for each frame.

Returns

S_OK if successful, or another error code otherwise.

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Filters C API Help
Click or drag to resize