Programming with Reflection

image\rwnprg32.gif PrintScreen method


Syntax object.PrintScreen Range, [Copies]



Prints the contents of display memory. If the ClosePrinterManually property is True, calling the FlushPrinter method before and after each call to the PrintScreen method is recommended. This way, each job starts on a new page.

Note: This method is equivalent to the Print method. Use this method to avoid conflicts with Visual Basic Print commands.


Range Argument Type: Enumeration
The possible values are:


 Prints the current selection.


 Prints the current screen in display memory.


 Prints all of display memory (including the current screen).

Copies Argument Type: Integer
Specifies the number of copies to print. If this argument is omitted, one copy is printed.


image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command