Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

How can delete a composite font?

$
0
0

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.


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>