ComponentOne Input for WinForms
GetDisplayText Method

C1.Win.C1Input.4 Assembly > C1.Win.C1Input 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
Returns a string formatted for display using edit mask.
Syntax
'Declaration
 
Public Function GetDisplayText( _
   ByVal content As System.String, _
   ByVal skipBlanks As System.Boolean _
) As System.String
public System.string GetDisplayText( 
   System.string content,
   System.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

Reference

MaskInfo Class
MaskInfo Members