I want delete composite font exist in Illustrator
I had try this code, but occur error: Public member 'Delete' on type 'TextFont' not found.
Dim iFontNum =oIllustrator.TextFonts.Count
For iFontNo = iFontNum To 1 Step -1
Try
Dim oFont = oIllustrator.TextFonts(iFontNo)
Dim strName = oFont.Name
If Left(strName, 4) = "ATC-" Then
oIllustrator.TextFonts(iFontNo).Delete
End If
Catch ex As Exception
End Try
Next
How can delete a composite font?
Thank you.