CLayoutData Class Reference

#include <frmlaydt.h>

class CLayoutData

Detailed Description

Layout data: no longer used.

This class provides two enumerations which are used in the Text Views API. Deprecated7.0

Member Enumeration Documentation

Enum anonymous

Enum anonymous

EnumeratorValueDescription
EFHeightForFormattingAllTextEFLargeNumber
EFBodyWidthForNoWrappingEFLargeNumber

Enum anonymous

Flags used when converting between layout coordinates and document position.

See also: CTextLayout::XyPosToDocPosL() CTextLayout::DocPosToXyPosL()

EnumeratorValueDescription
EFIndividualChars0

Count individual characters and don't treat the end of the line specially. Deprecated6.2

EFWholeLinesOnly1

Only consider the beginnings and ends of whole lines. Only useful in XyToDocPos functions.

EFWholeTBoxesOnlyEFWholeLinesOnly

Only consider the beginnings and ends of whole TBoxs so as not to access the document. Only useful in XyToDocPos functions.

EFDisambiguateEndOfLine2

Disambiguate the end position of a line from the start position of the next line. If both positions are the same, a position at the end of the line will be invalid, and the position before will be returned instead.

Enum TFormatMode

Format modes.

EnumeratorValueDescription
EFScreenMode

Dimensions stored in pixels with no mapping between format and image device.

EFPrintMode

Dimensions stored in twips with no mapping.

EFPrintPreviewMode

Dimensions stored in twips with partial mapping.

EFWysiwygMode

Dimensions stored in twips with full mapping.