Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active March 18, 2022 16:40
Show Gist options
  • Save bjoerntx/d60107c5dc67ffc3f70bfd6d9b6318c4 to your computer and use it in GitHub Desktop.
Save bjoerntx/d60107c5dc67ffc3f70bfd6d9b6318c4 to your computer and use it in GitHub Desktop.
(extension) void TextControl.AddLegalStyles(
string styleName,
[string fontName = "Courier New"],
[int fontSize = 240],
[Color? foreColor = null],
[int lineSpacing = 200])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment