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
DocPositionTopPage (Function)
In french: DocPositionDébutPage
Returns the position of the first character in a given page in a Text Processing control.
Example
// Insert an image on page 2
nPosPage2 is int = DocPositionTopPage(WP_MyDocument, 2)
DocInsert(WP_MyDocument, nPosPage2, ElementHeader)
Syntax
<Result> = DocPositionTopPage(<Word Processing control> , <Page number>)
<Result>: Integer
Position of the first character in the specified page. This position can be used with DocInsert to insert an element in the Word Processing control.
<Word Processing control>: Control name
Name of the Word Processing control to use.
<Page number>: Integer
Number of the page where the position is to be found.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/05/2022

Send a report | Local help