C语言脚本.docx
Valuevoid Value(char* lpszPictureName, /picture namechar* lpszObjectName, char* TAG , /AUTO char* TITLE,char* PAGE/pagename )int left;int top;LINKINFO linkinfo;BOOL Bool;Bool=TRUE;left=GetLeft(lpszPictureName,lpszObjectName)+40;top=GetTop(lpszPictureName,lpszObjectName);if (left<20)left=20;if (left>800)left=800;if (top>500)top=500;if (top<20)top=20; SetLeft(lpszPictureName,"value",left); SetTop(lpszPictureName,"value",top); SetPictureName(lpszPictureName,"value",PAGE); PDLRTSetPropEx(0,lpszPictureName,"value","Visible",VT_BOOL,&Bool,NULL,NULL,0,NULL,NULL); linkinfo.LinkType =1; linkinfo.dwCycle = 0; strcpy(linkinfo.szLinkName, TAG); SetLink(PAGE,"TAG","OutputValue",&linkinfo); /strcpy(linkinfo.szLinkName, cacsvalue); /SetLink("PW.Pdl","cacsvalue","OutputValue",&linkinfo); SetText(PAGE,"pagename",TITLE);