![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Can rich text be drawn on a canvas? Topic Summary: Created On: 9-May-2007 15:15 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
When creating a layout DXL column, one can show rich text with colours by using function displayRichWithColour.
Can rich text also be drawn on a canvas? Background of this question: I've created a layout DXL column. The script gets the (virtual) canvas with DBE dCanvas = getCanvas On dCanvas, I can draw text with draw(dCanvas, xPos, yPos, <text> However, in my case, <text> Now I would like to draw this rich text formatted string on dCanvas. Is this possible? Thanks in advance! Edited: 9-May-2007 at 15:54 by Sjors de Leeuw |
|
![]() |
|
![]() |
|
Hi Sjors,
afaik this unforunately not possible. I see two alternative ways: (1) loop trough parts of RTF and apply formating yourself -> hard to do and slowly (2) use displayRichWithColor combined with canvas usage in LDXL --> I've used this to draw my own "change bars" with rectangle (canv, -5, 0, 3, height (canv)); Good luck, Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Hi Reik,
Thanks for the answer, I feared already that it won't be possible. Maybe somebody else knows some solution.
Anyway, I agree with you. 1) is too much effort, 2) is possible, but doesn't support absolute positioning, which is required.
Greets
Sjors
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Can rich text be drawn on a canvas?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.