Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

Window.AsPDF

Component: Window
Version: 2.3
Mac OS X: Works
Windows: Does nothing

MBS( "Window.AsPDF"; WindowRef; Filename )

Parameters

Parameter Description Example value
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0
Filename Optional, the filename for the PDF file. Default is "window.pdf". "mywindow.pdf"

Description

Renders the window as PDF so you can save it in a container value. Includes a JPEG preview.

Examples

MBS( "Window.AsPDF"; Get(WindowName) )

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - Förderverein St. Arnulf Nickenich