Function TWPRTFStyleCollection.CheckStyleIntegrity(First:TWPTextStyle; StyleNr:Integer) : TWCheckStyleIntegrityResult

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFStyleCollection

Parameters

Returns

The type of the result value is TWCheckStyleIntegrityResult.

Description

This function checks if the given style exists and does not include a reference to itself or the style passed as 'First'. The possible result values are wpStyleOk, wpStyleUnknown and wpStyleCircularReference