【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.27.5 MatrixLayer::ExportMultiFrame
Contents
Description
Export all matrix objects to a multi frame image.
Syntax
int ExportMultiFrame( LPCSTR pcszFileName, LPCSTR pcszType, LPVOID pOptions = NULL )
Parameters
- pcszFileName
- [input] pointer to the name of the destination file
- pcszType
- [input] pointer to the file type, "gif" or "tif"
- pOptions
- [input] optional pointer to struct of options, OGifOptions_t
Return
0 on success,-1 on failure.
Examples
EX1
void ExportMultiFrame_ex() { MatrixLayer ml = Project.ActiveLayer(); if(!ml) return; string strFile = GetAppPath() + "myml.gif"; OGifOptions_t optGIF; optGIF.nLoopCount = 3;// 0 (default) = infinite optGIF.nFrameDelay = 50;// 100 (default) = 1 sec int nRet = ml.ExportMultiFrame(strFile, "gif", &optGIF); if(0 == nRet) out_str(strFile); }
Remark
See Also
Header to Included
origin.h