Function TWPToolsBasicEnviroment.GetWPObjectForExtension(RTFData:TWPRTFDataCollectionBase; FileExtension:string) : TWPObjectClass

Unit: WPRTEDefs
Class: WPRTEDefs.TWPToolsBasicEnviroment

Parameters

Returns

The type of the result value is TWPObjectClass.

Description

Returns the class which should be used for a certain extension. Under special circumstance the 'Extension' can be the name of the needed object class. This function uses the event OnCreateObject and the list which was filled with RegisterWPObject