ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDEFont Class / SumWidths Method
A string of characters.




In This Topic
    SumWidths Method
    In This Topic
    Gets the sum to the widths from a string of single or multi-byte characters.
    Syntax
    'Declaration
     
    Public Function SumWidths( _
       ByVal text As String _
    ) As Integer
    'Usage
     
    Dim instance As ImGearPDEFont
    Dim text As String
    Dim value As Integer
     
    value = instance.SumWidths(text)
    public int SumWidths( 
       string text
    )
    public: int SumWidths( 
       string* text
    ) 
    public:
    int SumWidths( 
       String^ text
    ) 

    Parameters

    text
    A string of characters.

    Return Value

    Width of text string in EM space. (In EM space, the width of 'M' is about 1000 EM units).
    See Also