Skip to end of metadata
Go to start of metadata

Description

Sets or returns a double that represents the kerning threshold for a character run in points.
C#
public double Kerning{ get; set; }
vb.net
Public Property Kerning() As Double

Remarks

If this is zero, then kerning is disabled for a character run. The maximum value is 1638 points. Values beyond these will be automatically adjusted.

Examples

C#
          //--- Return Kerning
          int kerning = oFont.Kerning;

          //--- Set Kerning to 12 pt
          oFont.Kerning = 24;
        
vb.net
          '--- Return Kerning
          Dim kerning As Integer = oFont.Kerning

          '--- Set Kerning to 12 pt
          oFont.Kerning = 24
        
  • No labels