VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingString Class / Trim(Char[]) Method
Syntax Requirements SeeAlso
In This Topic
    Trim(Char[]) Method (DrawingString)
    In This Topic
    Removes all leading and trailing occurrences of a set of characters specified in an array from the current DrawingString object.
    Syntax
    'Declaration
    
    Public Function Trim( _
    ByVal ParamArray trimChars
    An array of Unicode characters to remove, or null.
    () As Char _
    ) As DrawingString
    public DrawingString Trim(
    params char[] trimChars
    )
    public: DrawingString* Trim(
    params char[]* trimChars
    )
    public:
    DrawingString^ Trim(
    ... array<char>^ trimChars
    )

    Parameters

    trimChars
    An array of Unicode characters to remove, or null.

    Return Value

    The string that remains after all occurrences of the characters in the trimChars parameter are removed from the start and end of the current string.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also