SetCharStyleSheet method

Applies to
TWPAbstractCharAttrInterface

Overloaded Variants
Procedure SetCharStyleSheet(const StyleNr: Integer);
Procedure SetCharStyleSheet(Style: TWPTextStyle);

Declaration
procedure SetCharStyleSheet(const StyleNr: Integer);

Description
WPTools can assign paragraph styles also to character attributes:
    var n : Integer;
begin
   n := WPRichText1.ParStyles.GetID('test');
   WPRichText1.SelectedTextAttr.SetCharStyleSheet(n );
end;

Category
Work with Styles

Declaration
procedure SetCharStyleSheet(Style: TWPTextStyle);


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com