CharacterPropertiesBase.KerningThreshold Property
Gets or sets the minimum font size for which the kerning is adjusted automatically.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
#Property Value
Type | Description |
---|---|
Nullable<Single> | The target font size (from 0 to 3276) or null (Nothing in Visual Basic) for a mixture of values. |
#Remarks
Set the KerningThreshold property to 0 to disable automatic kerning.
The code sample below shows how to enable kerning for 28 font size and above:
Document document = wordProcessor.Document;
var testParagraph = document.Paragraphs[2];
var cP = document.BeginUpdateCharacters(testParagraph.Range);
cP.KerningThreshold = 28;
document.EndUpdateCharacters(cP);
Note
The Kerning