【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.19.4 GraphObjectBase::ExtractImageToFile
Contents
Description
It extracts into a file an enhanced metafile or device independent bitmap depending on the type of GraphObj. (which could have been generated, e.g,, by pasting a picture)
Syntax
BOOL ExtractImageToFile( LPCSTR lpcszPathName )
Parameters
- lpcszPathName
- the path to the file to be created which will contain the enhanced metafile
Return
TRUE for success
Examples
EX1
void GraphObjectBase_ExtractImageToFile_ex1() { GraphLayer lay = Project.ActiveLayer(); GraphObject grEMF; grEMF = lay.GraphObjects("EMF"); BOOL bRet = grEMF.ExtractImageToFile("c:\\myfiles\\myemf.emf"); }
Remark
See Also
Header to Include
origin.h