Description
Sets the unique identifier for an open sheet.
Applies to
Window objects
Syntax
controlname.SetSheetID ( sheetname )
Argument |
Description |
---|---|
controlname |
The open sheet to be identified. |
sheetname |
A unique string identifier for the sheet, which is used when layout is persisted. |
Return value
Integer.
Returns 1 if it succeeds and -1 if an error occurs.
Usage
Because spacing is a setting for paragraphs, not individual lines, then if lines have wrapped, spacing will change for all the lines in all the paragraphs that are selected.
When you expand the line spacing, the extra space is added before the affected lines.
Examples
This example specifies double spacing for the selected paragraphs in the RichTextEdit rte_1:
rte_1.SetSpacing(Spacing2!)
This example specifies one and a half line spacing:
rte_1.SetSpacing(Spacing15!)
See also