Search Results for

    Show / Hide Table of Contents

    TUIFont.GetWidth Method

    Returns the width of a string in device-independent pixels at dpi resolution when written in the current font.

    Syntax

    Unit: FlexCel.Core

    function TUIFont.GetWidth(const aText: string; const dpi: Integer; const aReadingOrder: TFlxReadingOrder): Double; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const aText string Text we want to measure.
    const dpi Integer Dpi to measure the string.
    const aReadingOrder TFlxReadingOrder Reading order for the document where the string is.

    See also

    • TUIFont
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com