dashed/dotted line rather than solid for borders

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

dashed/dotted line rather than solid for borders

Post by hartcons »

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: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: dashed/dotted line rather than solid for borders

Post by Sergey Tkachenko »

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: 21
Joined: Sat Aug 01, 2015 12:26 am

Re: dashed/dotted line rather than solid for borders

Post by hartcons »

ok, thanks.
Post Reply