Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 93032

Why can't set and get KerningMethod in Illustrator?

$
0
0

As Doc of Illustrator:

CharacterAttributes:

 

kerningMethodAutoKernType:
AutoKernType.NOAUTOKERN
AutoKernType.AUTO
AutoKernType.OPTICAL
AutoKernType.METRICSROMANONLY
r/wThe automatic kerning method to use.

But my code get KerningMethod:

Dim val As Double = oCharacter.CharacterAttributes.kerningMethod

It shows exception: the requested attribute is undefined for the text range

 

My code set KerningMethod:

oCharacter.CharacterAttributes.KerningMethod = 50

It shows exception: Enumerated value expected

 

Why? How get and set KerningMethod in Illustrator?


Viewing all articles
Browse latest Browse all 93032

Trending Articles



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