Documents for PDF .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / MeasureString Method

In This Topic
    MeasureString Method
    In This Topic
    Measures a string using a specified GrapeCity.Documents.Text.TextFormat, available layout size and GrapeCity.Documents.Text.TextSplitOptions. Also calculates and returns in an output parameter the number of chars that fit into the specified size.
    Overload List
    OverloadDescription
    Measures a string using a specified GrapeCity.Documents.Text.TextFormat, available layout size and GrapeCity.Documents.Text.TextSplitOptions. Also calculates and returns in an output parameter the number of chars that fit into the specified size.  
    Measures a string using a specified GrapeCity.Documents.Text.TextFormat, available layout size and default split options (see GrapeCity.Documents.Text.TextSplitOptions). Also calculates and returns in an output parameter the number of chars that fit into the specified size.  
    Measures a string using a specified font, font size and layout width.  
    Measures a string using a specified GrapeCity.Documents.Text.TextFormat.  
    See Also