Skip to content

IFont.XHeight property

Gets the x-height in DIPs (distance from the baseline to the top of a lowercase letter such as ‘x’).

public double XHeight { get; }

Implementations should return the font’s actual metric; the default derives it from CapHeight so custom font implementations keep working.