Function TWPRTFStyleCollection.AddCopy(SourceStyle:TWPRTFStyleElement) : Integer

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFStyleCollection

Parameters

Returns

The type of the result value is Integer.

Description

This function appends a style from a DIFFERENT style collection to this collection and returns the ID of it. If the source style uses base styles those styles are also copied.