TMargins Class Reference

class TMargins

A set of margins used for cropping a picture.

Margins are specified in twips or pixels.

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Externalises a set of margins to a write stream.

The presence of this function means that the standard templated stream operator<<() is available to externalise objects of this class.

Parameters

RWriteStream & aStream Stream to which the object is externalised.

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Internalises a set of margins from a read stream.

The presence of this function means that the standard templated stream operator>>() is available to internalise objects of this class.

Parameters

RReadStream & aStream Stream from which the object is internalised.

operator!=(const TMargins &)

IMPORT_C TBool operator!= ( const TMargins & aMargins ) const

Tests margins for inequality.

Parameters

const TMargins & aMargins The margin to be compared with this margin.

operator==(const TMargins &)

IMPORT_C TBool operator== ( const TMargins & aMargins ) const

Tests margins for equality.

Parameters

const TMargins & aMargins The margin to be compared with this margin.

Member Data Documentation

TInt iBottom

TInt iBottom

Bottom margin, (in twips or pixels).

TInt iLeft

TInt iLeft

Left margin, (in twips or pixels).

TInt iRight

TInt iRight

Right margin, (in twips or pixels).

TInt iTop

TInt iTop

Top margin, (in twips or pixels).