newbee question.... HTML peview

Stimulsoft Reports.NET discussion
Post Reply
fabio
Posts: 6
Joined: Thu Oct 09, 2008 2:25 pm
Location: brasil

newbee question.... HTML peview

Post by fabio »

Hi !
I'm using a web report viwer to test an app, but I just notice that even in the Disigner HTML preview we can have the same issue:

When a text is longer then it's container like : "lets go lets go lets go lets go" I want just the first "lets go" could be showed.
Even setting:
wordwrap=false,
cangrow= false,

the preview shows the first "lest go" and thats ok... but in the HTML preview mode, all the text is showed with lines added ...

How can I make only a portion of a text by showed when it doesn't fits the container ?

I have also tryied all set of "Text Opitions -> trimming" options but nothing seems to work in the HTML preview.
I don't want to use "Shrink font to fit".

Thank's in advance
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

newbee question.... HTML peview

Post by Vital »

Hello Fabio,
fabio wrote:Hi !
I'm using a web report viwer to test an app, but I just notice that even in the Disigner HTML preview we can have the same issue:

When a text is longer then it's container like : "lets go lets go lets go lets go" I want just the first "lets go" could be showed.
Even setting:
wordwrap=false,
cangrow= false,

the preview shows the first "lest go" and thats ok... but in the HTML preview mode, all the text is showed with lines added ...

How can I make only a portion of a text by showed when it doesn't fits the container ?

I have also tryied all set of "Text Opitions -> trimming" options but nothing seems to work in the HTML preview.
I don't want to use "Shrink font to fit".

Thank's in advance
You need take in consideration restrctions of html format. We use big table in html in html preview tab. If some of text does not fit in one html cell then browsers automatically increase size of cell.
You can use one trick. Set ExportAsImage property of text box to true. In this case this text box will be exported as image and you receive what you need.

Thank you.
Post Reply