| 
       | 
        
       | Object Model Reference : Classes : T : Text : Properties : Text.UnusedFramesInLink  | 
      
Property UnusedFramesInLink As Long
Member of Text
The UnusedFramesInLink property returns the total number of empty frames in a chain of linked paragraph-text frames.
The UnusedFramesInLink property returns a read-only value.
The following VBA example displays the total number of frames in the text chain and the number of empty (or unused) frames.
Sub Test()  | 
 If ActiveShape Is Nothing Then  | 
  MsgBox "Nothing Selected"  | 
  Exit Sub  | 
 End If  | 
 If ActiveShape.Type <> cdrTextShape Then  | 
  MsgBox "Please select a text object"  | 
  Exit Sub  | 
 End If  | 
 If ActiveShape.Text.Type <> cdrParagraphText And ActiveShape.Text.Type <> cdrParagraphFittedText Then  | 
  MsgBox "Please select a paragraph text object"  | 
  Exit Sub  | 
 End If  | 
 MsgBox "The number of frames in the text chain is: " & _  | 
  ActiveShape.Text.FramesInLink & vbCr & _  | 
  "Unused frames: " & ActiveShape.Text.UnusedFramesInLink  | 
End Sub  | 
| 
       | 
        
       | 
		      
		          
		             | 
      
Copyright 2013 Corel Corporation. All rights reserved.