Microsoft SDK for Java

getDevice

This method of the GraphicsX Class retrieves an an instance of a device class that the graphics object draws on.

Syntax

public Device getDevice() throws DeviceException;

Return Value

Returns an instance of the either the DisplayDevice or the PrinterDevice class.

Exceptions

com.ms.awt.DeviceException

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