ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print 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
Prints a document in "docx" format.
Example
MyDocument is Document = "c:\temp\proposal.docx"
iDestination(iViewer)
iPrintDoc(MyDocument)
Syntax

Printing the content of a Word Processing control or a Document variable Hide the details

<Result> = iPrintDoc(<Document>)
<Result>: Boolean
  • True if the document is valid for printing,
  • False otherwise.
<Document>: Document variable or control name
Document to print. This document corresponds to:

Print the content of a "docx" file, a Buffer variable or a binary memo Hide the details

<Result> = iPrintDoc(<Element to print> [, <Password>])
<Result>: Boolean
  • True if the document is valid for printing,
  • False otherwise.
<Element to print>: String, Buffer or binary memo
  • Name and path of the "docx" file to be printed.
  • Name of Buffer variable to print.
  • Name of binary Memo item to print.
<Password>: Optional character string
  • Password to open the element to print ("docx" file, content of Buffer variable, content of Binary memo variable).
  • Empty string ("") if the element to print has no password.
Business / UI classification: Neutral code
Component: wd290mdl.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help