SheetXL - v1.0.2
    Preparing search index...

    Interface Metrics

    interface Metrics {
        ascent: number;
        baseline: number;
        descent: number;
        italicAngle?: number;
        lineGap: number;
        lineHeight: number;
        strikePosition?: number;
        strikeThickness?: number;
        underlinePosition?: number;
        underlineThickness?: number;
    }
    Index
    ascent: number

    The font's ascent above the baseline in whole px at the measured size — GDI's tmAscent, which is what Excel lays text out with (the OS/2 winAscent, hinted where the font has a VDMX table).

    baseline: number

    The baseline's offset from the top of a lineHeight box, in px: where a renderer that paints the line as a box (a CSS line box) puts the alphabetic baseline.

    descent: number

    The font's descent below the baseline in whole px — GDI's tmDescent (OS/2 winDescent).

    italicAngle?: number
    lineGap: number

    The leading in px: the room in lineHeight beyond the ascent and descent.

    lineHeight: number

    The line pitch in px — what a line of this text advances by: ascent plus descent plus lineGap.

    strikePosition?: number
    strikeThickness?: number
    underlinePosition?: number
    underlineThickness?: number