Packages
 In this topic

*Constructors

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.awt   Previous This
Package
Next

 


Class WPrintGraphics

public class WPrintGraphics extends GraphicsX implements 
            PrintGraphics
{
  // Constructors
  public WPrintGraphics(WPrintJob pjob);

  // Methods
  public Graphics create();
  public void dispose();
  public PrintJob getPrintJob();
}

This class encapsulates a print graphics context for a printable page.

FxGraphics
  |
  +--GraphicsX
    |
    +--WPrintGraphics

Constructors

WPrintGraphics

public WPrintGraphics(WPrintJob pjob);

Creates a print graphics object based on a WPrintJob object.

ParameterDescription
pjob The WPrintJob object that the new object is based on.

Methods

create

public Graphics create();

Creates a new WPrintGraphics object based on the current one.

Return Value:

Returns a new WPrintGraphics object.

dispose

public void dispose();

Disposes the graphics object after it is no longer being referenced.

Return Value:

No return value.

getPrintJob

public PrintJob getPrintJob();

Retrieves the PrintJob associated with the print graphics object.

Return Value:

Returns the PrintJob associated with the print graphics object.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.