dashed/dotted line rather than solid for borders

General TRichView support forum. Please post your questions here
Post Reply
hartcons
Posts: 18
Joined: Sat Aug 01, 2015 12:26 am

dashed/dotted line rather than solid for borders

Post by hartcons » Sat Apr 21, 2018 1:08 am

is it possible to specify a dashed/dotted line for things like table cell borders or text object borders? the customer wants us to put a thick dashed line around some text.

Sergey Tkachenko
Site Admin
Posts: 13888
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: dashed/dotted line rather than solid for borders

Post by Sergey Tkachenko » Sat Apr 21, 2018 12:20 pm

Sorry, dashed and dotted borders are not supported yet (they are supported only in "breaks" - horizontal lines).

The only solution is custom drawing in events.
For tables and cells: table.OnDrawBorder
For paragraphs: TRVStyle.OnDrawParaBack
For text: TRVStyle.OnDrawTextBack

hartcons
Posts: 18
Joined: Sat Aug 01, 2015 12:26 am

Re: dashed/dotted line rather than solid for borders

Post by hartcons » Mon Apr 23, 2018 4:06 pm

ok, thanks.

Post Reply