Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns a double that represents the kerning threshold for a character run in points.

Signature
C#
C#

 public double Kerning{ get; set; }
Signature
vb.net
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.

Example
Code Block
csharp
csharp
titleC#
            //--- Return Kerning
          int kerning = oFont.Kerning;

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

          '--- Set Kerning to 12 pt
          oFont.Kerning = 24