Input for WinForms | ComponentOne
C1.Win.Input.Formating Namespace / MaskInfo Class / GetDisplayText Method
String containing characters entered by the user, including those on optional positions that were left blank (skipped).
If set to True, the result will omit blank positions. If set to False, the resulting text will contain PromptChar on blank positions

In This Topic
    GetDisplayText Method
    In This Topic
    Returns a string formatted for display using edit mask.
    Syntax
    'Declaration
     
    
    Public Function GetDisplayText( _
       ByVal content As String, _
       ByVal skipBlanks As Boolean _
    ) As String
    public string GetDisplayText( 
       string content,
       bool skipBlanks
    )

    Parameters

    content
    String containing characters entered by the user, including those on optional positions that were left blank (skipped).
    skipBlanks
    If set to True, the result will omit blank positions. If set to False, the resulting text will contain PromptChar on blank positions
    See Also