Previous Document Next Document

Object Model Reference : Classes : T : TextRange : Properties : TextRange.LeftIndent


TextRange.LeftIndent

Property LeftIndent As Double

Description

Member of TextRange

The LeftIndent property returns or specifies the amount by which text is indented from the left side of the frame in a text range. All lines except for the first line of each paragraph are indented.

VBA example

The following VBA example sets the hanging indentation of the paragraph to 0.5".

Sub Test()
 Dim d As Document
 Dim s As Shape
 Dim t As Text
 Set d = CreateDocument
 Set s = d.ActiveLayer.CreateParagraphText(3, 3, 5, 5, _
  "This is an example. This is an example. This is an " & _
  "example. This is an example. This is an example.")
 Set t = s.Text
 t.Story.LeftIndent = 0.5
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.