SetPtr Method |
[Top] [Chapter] [Previous] [Next] |
Applies to Declaration bool SetPtr(IntPtr Paragraph); Description Makes the paragraph with the specified ID the 'current' paragraph. See method AppendChild for an example.
Instead of IDs the following constants can be used: 1: Select current cell. This is useful to select the cell a child paragraph is located within. 2: Select parent row. 3: Select parent table - for example to change the properties of a table directly. 4: Select parent cell, the cell which owns a nested table. 5: Select the Parent-Parent Table, the table which owns the parent Cell
If the selected object was not found, false is returned.
Please also see low "level move methods" which make it easy to move through a document without changing the cursor position! Category |