NKernPairs Property

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:20

Description

Returns the number of kerning pairs in the currently loaded font.

Syntax

object.NKernPairs

object

Required. Object name. Returned by Ted.GetFont.

Example

This script displays the number of the kerning pairs in the font, numbered as 10031:

Dim objFont = Ted.GetFont

objFont.Code = 10031

msgbox ("The number of kerning pairs in the font " & objFont.Code & " is " & objFont.NKernPairs-1) & "."

 

Context

Font object