Spread WPF 18
GrapeCity.Spreadsheet.Printing Namespace / PrintingContext Class / MeasureText(String,Font,Size,Boolean) Method


In This Topic
    MeasureText(String,Font,Size,Boolean) Method
    In This Topic
    Syntax
    'Declaration
     
    Public MustOverride Function MeasureText( _
       ByVal text As String, _
       ByVal font As Font, _
       Optional ByVal limitSize As Size, _
       Optional ByVal wrapText As Boolean _
    ) As Size
    'Usage
     
    Dim instance As PrintingContext
    Dim text As String
    Dim font As Font
    Dim limitSize As Size
    Dim wrapText As Boolean
    Dim value As Size
     
    value = instance.MeasureText(text, font, limitSize, wrapText)
    public abstract Size MeasureText( 
       string text,
       Font font,
       Size limitSize,
       bool wrapText
    )

    Parameters

    text
    font
    limitSize
    wrapText
    See Also