This example illustrates how you can set monospaced font as the document default font and use the MeasureSingleLineString method to calculate the width of a string composed of four characters. This value is used to specify tab stops in a new document.
↧