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
Warning
From version 24, this function is kept for backward compatibility. It is recommended to use iPrintDoc, which offers more possibilities.
Prints a document in "docx" format.
Note: This function is equivalent to iPrintDoc.
Example
MonDocument is Document = "c:\temp\propale.docx"
iDestination(iViewer)
DocPrint(MonDocument)
Syntax
DocPrint(<Document>)
<Document>: Document variable or control name
Document to print. This document corresponds to:
  • WINDEV the name of a Word Processing control.
  • a variable of type Document.
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