TypeWritterWriteColor(String, ConsoleColor, ConsoleColor, Int32, Int32) Method
Writes colored text simulating a typewritter effect.
Namespace: DevCase.Core.Application.ConsoleAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
static member WriteColor :
text : string *
foreColor : ConsoleColor *
backColor : ConsoleColor *
?typeSpeed : int *
?pauseDuration : int
(* Defaults:
let _typeSpeed = defaultArg typeSpeed 75
let _pauseDuration = defaultArg pauseDuration 400
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- text String
-
The text to write.
- foreColor ConsoleColor
-
The text color.
- backColor ConsoleColor
-
The background color.
- typeSpeed Int32 (Optional)
-
The typying speed, in ms.
- pauseDuration Int32 (Optional)
-
The pause duration of the punctuation characters, in ms.
This is a code example.
No code example is currently available or this language may not be supported.
WriteColor(" Hello World! ", ConsoleColor.Blue, ConsoleColor.White)
WriteColor(" Hello World! ", ConsoleColor.Blue, Nothing)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.