Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.SetIndents


CorelScript.SetIndents

Function SetIndents(FirstSelectedChar As Long, LastSelectedChar As Long, FirstLine As Long, RestOfLines As Long, RightMargin As Long) As Long

Description

Member of CorelScript

The SetIndents method specifies the indentation of text.

 
The CorelScript.CreateTextString and CorelScript.SelectObjectsInRect methods must be called before this method.

 
You can use the CorelScriptTools.LengthConvert method, or one of the CorelScriptTools.From... or CorelScriptTools.To... methods, to specify length measurements.

Parameter
Description
FirstSelectedChar
Specifies the starting character of the selected text. The first character in a string is equal to 0.
LastSelectedChar
Specifies the ending character of the selected text
FirstLine
Specifies the size of the first-line indentation, in tenths of a micron
RestOfLines
Specifies the size of the remaining line indentation, in tenths of a micron
RightMargin
Specifies the size of the right-margin indentation, in tenths of a micron

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.