ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 the Word Processing control to use.
<Fragment>: docFragment variable
Name of docFragment variable to select.
Component: wd290mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help