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}{signature:
}
Signature
vb.net
vb.net
Public Property Kerning() As Double
{signature}
{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.

{remarks}
{example}{code:csharp|title=C#}
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} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return Kerning
          Dim kerning As Integer = oFont.Kerning

          '--- Set Kerning to 12 pt
          oFont.Kerning = 24
        
{code} {example}