MPageRegionPrinter Class Reference

#include <gdi.h>

class MPageRegionPrinter
Public Member Functions
pure virtual voidPrintBandL(CGraphicsDevice *, TInt, const TBandAttributes &)

Detailed Description

Interface for printing in bands.

This class provides a single PrintBandL() function that prints the body of each page band by band. Classes derived from this interface must provide an implementation of the PrintBandL() function.
Since
5.0

Member Function Documentation

PrintBandL ( CGraphicsDevice *, TInt, const TBandAttributes & )

voidPrintBandL(CGraphicsDevice *aDevice,
TIntaPageNo,
const TBandAttributes &aBandInPixels
)[pure virtual]

Prints a band.

Implementations should set up a graphics context to which all drawing should take place using CGraphicsDevice::CreateContext(). All co-ordinate calculations should be done in twips, and converted into pixels before starting the print job.

ParameterDescription
aDevicePointer to the graphics device representing the printer.
aPageNoThe number of the page containing the band to be printed.
aBandInPixelsAttributes of the band to be printed.