ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
DocInsert(MonFragment, MonElémentImage)
TT_SansNom1 = MonDocImg
f is docFragment(TT_SansNom1, 1, 1)
DocSelect(TT_SansNom1, f)
Syntax
DocSelect(<Word Processing control> , <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 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help