【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.3.10.13 PropertyNode::pict
Contents
ClassName
PropertyNode
AccessType
public
Name
pict
Declaration
PictureHolder pict
Remark
Examples
EX1
void PropertyNode_pict_ex1() { Tree tr; TreeNode trN = tr.AddNode("node1",1); GraphPage gp; gp.Create("origin.otp"); PictureHolder pict; if(page_get_picture(gp,pict)) //Export graph page to picture holder { trN.pict = pict; //Assign the picture to tree node PictureHolder pictCheck; pictCheck = trN.pict; out_int("picture width = ",pictCheck.GetWidth()); out_int("picture height = ",pictCheck.GetHeight()); } }
Description
Save a picture in node.
Header to Include
origin.h