Previous Document Next Document

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


TextRange.Outline

Property Outline As Outline

Description

Member of TextRange

The Outline property returns the outline (or Outline object) applied to a text range.

The Outline property returns a read-only value.

VBA example

The following VBA example changes the width of the last word of the paragraph to 2 inches.

Sub Test()
 Dim d As Document
 Dim s As Shape
 Dim t As Text
 Set d = CreateDocument
 Set s = d.ActiveLayer.CreateParagraphText(2, 2, 4, 4, "This is an example.")
 Set t = s.Text
 t.Story.Words.Last.Outline.Width = 2
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.