![]() |
![]() |
TextRange.Strikethru
Property Strikethru As cdrFontLine
Member of TextRange
The Strikethru property returns or specifies whether a strikethrough line is applied to the text range.
The following code example applies a strikethrough line to all of the text in the paragraph:
Sub Test() Dim t As Text Dim s As Shape Dim d As Document Set d = CreateDocument Set s = d.ActiveLayer.CreateParagraphText(2, 2, 8, 8, "This is an example.") Set t = s.Text t.Story.Strikethru = cdrDoubleThinFontLine End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.