Microsoft SDK for Java

getGraphics

This method of the WPrintJob Class retrieves a Graphics object that will draw to the next page. The page is flushed to the printer when the graphics object calls the dispose method.

Syntax

public Graphics getGraphics();

Return Value

Returns a Graphics object that draws to the printer.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.