I do need show double strikethrough. When I checked to Canvas i can see [fsStrikeOut] in Canvas.Font.Style for normal Strikethough but if I changed to Double strikethrough it is []
How can I do in OnDrawStyleText event or different place?
Since this is not a standard option, the only way is to draw it yourself.
You can draw a double line in OnDrawStyleText, leave DoDefault parameter = True, but exlude fsStrikeout from Canvas.Font.Style to prevent the default drawing of a single line.
Thanks for your answer, DoDefault is already True, but I don't have any information for Double Strikethrough in Canvas. How I can understand this is has Double strikethrough? If possible could you give me sample of code for this.
This information must be stored in a text style (and it is passed as a parameter of this event).
The simplest way is using unused properties and threat them as dbl strikeout. For example you can use custom protection options (see Protection property)