Author Topic: CLR RichText sample updated  (Read 2975 times)

stanl

  • Pundit
  • *****
  • Posts: 1800
CLR RichText sample updated
« on: April 16, 2014, 05:36:39 am »
Script now includes code based on previous thread which addressed running C# code In-Memory. Credit, of course, to Deana and Tony.  Basically, a backcolor value can be assigned to controls on the form and the form background itself. Colors are set by the FromArgb() method, but the C# snippet can probably be modified to accept predefined names, i.e. "Sienna".

stanl

  • Pundit
  • *****
  • Posts: 1800
Re: CLR RichText sample updated
« Reply #1 on: April 16, 2014, 06:45:48 am »
Sample RTF now calls C# code compiled as .dll and in addition to the a,r,g,b parameters, backcolor now accepts a name. Script, dll, and code (as text file) attached.