Function TWPColTemplate.AddStyle(samplestyle:TWPTextStyle) : TWPTemplateStyle

Unit: WPCTRTextProducer
Class: WPCTRTextProducer.TWPColTemplate

Parameters

Returns

The type of the result value is TWPTemplateStyle.

Description

This function adds a style and copies the folliwng attributes from the sample style: WPAT_CharFont,WPAT_CharFontSize,WPAT_CharStyleMask, WPAT_CharStyleON, WPAT_CharColor, WPAT_BGColor, WPAT_FGColor, WPAT_ShadingValue, WPAT_ShadingType, WPAT_Alignment