Not delete a text style
Not delete a text style
25-11-2011 07:34 . am | View his/her posts only
Hi all!
I can't remove text syleCopy Code
It works in ZWCad 2009 but does not work in 2011 (VERNUM 2011.06.30(16923))
Of course, document contains a text style 'TEXT'
Error: Method 'Delete' of object 'IIcadTextStyle' failed
Sorry for bad english
Thanks! svol2011-11-25 07:41:03
I can't remove text syle
- Sub DeleteTextStyle()
- Dim i As Integer
- Dim ts As ZwcadTextStyle
- 'get text style
- Set ts = ThisDocument.TextStyles.Item("TEXT")
- 'delete this
- ts.Delete
- End Sub
It works in ZWCad 2009 but does not work in 2011 (VERNUM 2011.06.30(16923))
Of course, document contains a text style 'TEXT'
Error: Method 'Delete' of object 'IIcadTextStyle' failed
Sorry for bad english
Thanks! svol2011-11-25 07:41:03



