Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: txtetext.h
Link against: etext.lib

Class TEtextComponentInfo

TEtextComponentInfo

Support

Supported from 5.0

Description

Provides information about the number of components owned by an editable text object. Components are fields and (rich text only), pictures and styles.

An instance of this class is returned by CPlainText::ComponentInfo() and by CRichText::ComponentInfo().

Defined in TEtextComponentInfo:
TEtextComponentInfo(), iFieldCount, iPictureCount, iStyleCount


Construction


TEtextComponentInfo()

TEtextComponentInfo();
TEtextComponentInfo(TInt aFieldCount,TInt aPictureCount,TInt aStyleCount);

Description

C++ constructor — overloaded function. The object can be constructed either:

Parameters

TInt aFieldCount

Specifies the number of fields in the text object.

TInt aPictureCount

Specifies the number of pictures in the text object (rich text only).

TInt aStyleCount

Specifies the number of styles owned or referenced by the text object (rich text only).

[Top]


Data members


iFieldCount

TInt iFieldCount

Description

The number of fields in the text object.


iPictureCount

TInt iPictureCount

Description

The number of pictures in the text object (rich text only).


iStyleCount

TInt iStyleCount

Description

The number of styles owned or referenced by the text object (rich text only).