Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created March 18, 2022 16:35
Show Gist options
  • Save bjoerntx/2b3150e25a869cc748d2e0ba780d5783 to your computer and use it in GitHub Desktop.
Save bjoerntx/2b3150e25a869cc748d2e0ba780d5783 to your computer and use it in GitHub Desktop.
// set the line width to 30 twips and line color to blue
LegalExtensions.LineWidth = 30;
LegalExtensions.LineColor = Color.Blue;
// insert a default style
textControl1.AddLegalStyles("CourtFilings");
// add the numbering with lines using the default style
// and a distance of 200 twips to the text
textControl1.AddLegalLineNumbering(LegalExtensions.StyleName, 200, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment