just wondering if there is a possibility to change the Border color of an element on different sides.
Example:
I would like to have a red border-color on the left side , but other sides should be green.
While its should be dynamic ("#FF0000") <= this information will come from a table and will be replaced by TABLE.COLOR , I added an Event "Before Print" , which works fine.
But now im struggeling with the syntax for MyElement.Border .... <== Left side one color, right side another color.
Hope there is some solutions to get the goal
Thanks in advance
Code: Select all
//My code so far..
MyElement.Border =new Stimulsoft.Base.Drawing.StiBorder(Stimulsoft.Base.Drawing.StiBorderSides.All,System.Drawing.ColorTranslator.FromHtml( "#FF0000"),2, Stimulsoft.Base.Drawing.StiPenStyle.Solid);