Previous Document Next Document

Object Model Reference : Classes : T : Text : Properties : Text.Frame


Text.Frame

Property Frame As TextFrame

Description

Member of Text

The Frame property returns the active paragraph-text frame.

The Frame property returns a read-only value.

VBA example

The following VBA example creates two paragraph-text frames and links them together.

Sub Test()
 Dim s As Shape
 Dim s1 As Shape
 Dim d As Document
 Dim t As Text
 Set d = CreateDocument
 Set s = d.ActiveLayer.CreateParagraphText(3, 3, 5, 5, String$(400, "T"))
 Set s1 = d.ActiveLayer.CreateParagraphText(6, 6, 8, 8)
 Set t = s.Text
 t.Frame.LinkTo s1
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.