TCustomRVParaInfo.Create

<< Click to display table of contents >>

TCustomRVParaInfo.Create

A constructor, creates and initializes a new instance of TCustomRVParaInfo.

constructor Create(Collection: TCollection);override;

The constructor initializes:

// Properties, inherited from TCustomRVInfo:

Standard        := True;

StyleName       := 'Paragraph Style';

// Properties defined in TCustomRVParaInfo:

Alignment       := rvaLeft;

LineSpacingType := 100;

LineSpacing     := rvlsPercent;

Other properties are initialized with zeros/False/empty values.

Note: usually, when you create a paragraph style in code, you should assign Standard := False.