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 diagram from:
  • a Diagram Editor control,
  • a "wddiag" file,
  • a variable of type Diagram.
Example
MyDiagram is Diagram = "c:\temp\proposal.wddiag"
iDestination(iViewer)
iPrintDiagram(MyDiagram)
Syntax

Printing the content of a Diagram Editor control or a Diagram variable Hide the details

<Result> = iPrintDiagram(<Diagram>)
<Result>: Boolean
  • True if the diagram is valid for printing,
  • False otherwise.
<Diagram>: Diagram variable or control name
Diagram to be printed. This diagram corresponds to:
  • the name of a Diagram Editor control.
  • a variable of type Diagram.

Printing the content of a "wddiag" file, a Buffer variable or a binary memo Hide the details

<Result> = iPrintDoc(<Element to print>)
<Result>: Boolean
  • True if the diagram is valid for printing,
  • False otherwise.
<Element to print>: String, Buffer or binary memo
  • Name and path of the "wddiag" file to be printed.
  • Name of Buffer variable to print.
  • Name of binary Memo item to print.
Remarks
The layout of the diagram to be printed can be configured using the PageLayout property.
Business / UI classification: UI Code
Component: wd300prn.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help