PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
DocInsert(MyFragment, MyImageElement)
WP_NoName1 = MyImgDoc
f is docFragment(WP_NoName1, 1, 1)
DocSelect(WP_NoName1, f)
Syntax
DocSelect(<Word Processing Control> , <Fragment>)
<Word Processing Control>: Control name
Name of Word Processing control to use.
<Fragment>: docFragment variable
Name of docFragment variable to select.
Components
WINDEVReports and Queries wd230mdl.dll
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment