SetParName Method |
[Top] [Chapter] [Previous] [Next] |
Applies to Declaration function SetParName(ParagraphPtr: IntPtr; const Name: WideString): WordBool; Description Set the name of the paragraph with the given ID.
ParagraphPtr must be a valid paragraph ID or one of the following constants:
1: Assigns the name of the current paragraph
2: Assigns the name to the parent table of this paragraph. Returns false if not in a table. The table name can be used in MoveToTable.
3: Assigns the name to the parent-parent table of this paragraph. Returns false if not in a nested table.
Note: CurrPar.ParStrCommand can also change table or paragraph names.
Also see: IWPTextCursor.GetParName
4: Set the WPAT_Par_Name of the parent table
5: Set the WPAT_Par_Name of the parent-parent table
6: Set the WPAT_Par_Command of the parent table
7: Set the WPAT_Par_Command of the parent-parent table
|