|
TParaInfos.Items |
Top Previous Next |
|
Provides indexed access to the items in the collection of paragraph styles property Items[Index: Integer]: TParaInfo; This is default property of TParaInfos, so you can write MyRVStyle.ParaStyles[i] instead of MyRVStyle.ParaStyles.Items[i] Many methods of components inherited from TCustomRichView have ParaNo parameter, which is an index in TParaInfos.Items collection (more specifically, in TCustomRichView.Style.ParaStyles.Items). Example: MyRichView.AddNL('Hello', 0, 0); Unlike normal collections, when accessing item with invalid Index (for example, Index<0 or Index>=Count), no exception occurs. InvalidItem is returned instead. |