PrintOut [Document] Method

The PrintOut method sends the document to the current printer. Returns a Boolean.

Syntax

object.PrintOut( Method, Scale, horzOverlap, vertOverlap )

 

Parameter Type Description
Method Variant optional, truncate, fit to page, or tile; the GrfPrintMethod enumeration can be used for this parameter
Scale Variant optional, size to print objects on the page - used with the truncate and tile methods
horzOverlap Variant optional, horizontal overlap on each page when using the tile method
vertOverlap Variant optional, vertical overlap on each page when using the tile method

 

Remarks

You can change the printer by setting the Printer property of the AutoPageSetup object.

Example

This example demonstrates how to print at 200 percent scale.

Plot.PrintOut(grfPrintTruncate,200)

 

Used by: Document object