gdi.h File Reference

KTwipsPerInch

const TIntKTwipsPerInch

Number of twips per inch.

KTwipsPerPoint

const TIntKTwipsPerPoint

Number of twips per point.

KPointsPerInch

const TIntKPointsPerInch

Number of points per inch.

KTwipsPerCm

const TIntKTwipsPerCm

Number of twips per cm.

KA4PaperSizeInTwips

A4 paper size in twips.

KLegalPaperSizeInTwips

Legal paper size in twips.

KExecutivePaperSizeInTwips

Executive paper size in twips.

KLetterPaperSizeInTwips

Letter paper size in twips.

KCom_10PaperSizeInTwips

Com-10 paper size in twips.

KMonarchPaperSizeInTwips

Monarch paper size in twips.

KDLPaperSizeInTwips

DL paper size in twips.

KC5PaperSizeInTwips

C5 paper size in twips.

Enum TGdiPanic

This enumeration holds the possible panic codes that may be raised by the GDI API on detecting an unrecoverable error.

EnumeratorValueDescription
EGdiPanic_Unknown0

Not used

EGdiPanic_InvalidInputParam1

One or more of the input parameters to the interface were invalid

EGdiPanic_OutOfText2

Insufficient text for successful completion of the method

EGdiPanic_Invariant3

Internal failure.

EGdiPanic_Unused14

Unused panic codes. Can be reused if needed.

EGdiPanic_Unused25
EGdiPanic_TypefaceNameOverflow6

Setting a typeface name that is too long

KRgbBlack

KRgbDarkGray

KRgbDarkRed

KRgbDarkGreen

KRgbDarkYellow

KRgbDarkBlue

KRgbDarkMagenta

KRgbDarkCyan

KRgbRed

KRgbGreen

KRgbYellow

KRgbBlue

KRgbMagenta

KRgbCyan

KRgbGray

KRgbWhite

KRgbTransparent

Enum TFontUnderline

Font underline flags.

EnumeratorValueDescription
EUnderlineOff

Font is not underlined.

EUnderlineOn

Font is underlined.

Enum TFontStrikethrough

Font strike-through flags.

EnumeratorValueDescription
EStrikethroughOff

Font is not struck-through.

EStrikethroughOn

Font is struck-through.

KMaxPrinterModelNameLength

const TIntKMaxPrinterModelNameLength

The maximum length of a printer model name.

See also: TPrinterModelName

Typedef TPrinterModelName

typedef TBuf< KMaxPrinterModelNameLength >TPrinterModelName
Defines a modifiable buffer descriptor that can contain the name of a printer model. The maximum length of the buffer is 32.
Since
5.0

KPdrStoreFileUidVal

const TIntKPdrStoreFileUidVal

The UID value of a printer specification data store.

KPdlUidVal

const TIntKPdlUidVal

KUdlUidVal

const TIntKUdlUidVal