ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Selects a fragment in a Word Processing control.
Example
MonDocImg is Document
MonFragment is docFragment(MonDocImg, 1)
Img is Image = CompleteDir(fExeDir()) + "imgtest.jpg"

MonElémentImage is docElement
MonElémentImage.Type = typeDocElementImage
MonElémentImage.Image.ImageBuffer = Img 
MonElémentImage.Image.Width = 20
MonElémentImage.Image.Height = 20
MonFragment.Insert(MonElémentImage)
TT_SansNom1 = MonDocImg
f is docFragment(TT_SansNom1, 1, 1)
TT_SansNom1.Sélectionne(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 the docFragment variable to select.
Component: wd300mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help