SetProp Method

[Top]  [Chapter]  [Previous]  [Next]

Applies to

IWPTextObj

Declaration

procedure SetProp(ID: Integer; const Value: WideString);

Description

Currently this flags can be set:

id = 1 : Set the mode [wpobjDrawAsRect]

2 : Set the mode [wpobjDrawAsText]

3 : Set the mode [wpobjWithinEditable]

4 : Set the mode [wpobjWithinProtected]

5 : Set the mode [wpobjPositionAtRight]

6 : Set the mode [wpobjPositionAtCenter]

7 : Set the mode [wpobjPositionInMargin]

8 : Set the mode [wpobjLockedPos]

9 : Set the mode [wpobjDisableAutoSize]

10 : Set the mode [wpobjSizingDisabled]

11 : Set the mode [wpobjSizingAspectRatio]

12 : Set the mode [wpobjObjectUnderText]

13 : Set the mode [wpobjReadSourceFromEmbeddedText]

14 : Set the mode [wpobjPositionInMargin]

15 : Set the mode [wpobjPositionInMargin]

16 : Set the mode [wpobjPositionInMargin]

To set the flag use the value "1", to clear it use the value "0".


[idh_iwptextobj_setprop.htm]    Copyright © 2007 by WPCubed GmbH