ParagraphObjAdd method

Applies to
TParagraph

Declaration
procedure ParagraphObjAdd(obj: TCustomParagraphObj);

Description
The procedure ParagraphObjAdd attaches a property object to a paragraph. Such an object is automatically freed when the paragraph is destroyed. The objects have to be derived from TCustomParagraphObj. The constructor requires a type id to be passed as integer. (We use type ids and not object class comparison for performance reason). You can use ParagraphObjDel to remove an object use ParagraphObjFind to find an object with a certain type id. You can use any type ID larger than the constant WPPAROBJ_USER.

Category
Store custom information


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