PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Selects a fragment in a Word Processing control.
Example
MyImgDoc is Document
MyFragment is docFragment(MyImgDoc, 1)
Img is Image = CompleteDir(fExeDir()) + "testimg.jpg"
 
MyImageElement is docElement
MyImageElement..Type = typeDocElementImage
MyImageElement..Image..BufferImage = Img
MyImageElement..Image..Width = 20
MyImageElement..Image..Height = 20
MyFragment.Insert(MyImageElement)
WP_NoName1 = MyImgDoc
f is docFragment(WP_NoName1, 1, 1)
WP_NoName1.Select(f)
Syntax
<Word Processing control>.Select(<Fragment>)
<Word Processing control>: Control name
Name of Word Processing control to use.
<Fragment>: docFragment variable
Name of docFragment variable to select.
Component : wd240mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment