This is a migrated thread and some comments may be shown as answers.

Line spacing

13 Answers 1024 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ll1231
Top achievements
Rank 1
ll1231 asked on 06 Nov 2008, 01:01 AM
Is it possible to adjust the line spacing in the textbox when the line wraps?

13 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 06 Nov 2008, 09:39 AM
Hello ll1231,

It is not possible in the current version of Telerik Reporting, but we would have this in mind for a subsequent release.

Thank you for the suggestion and do let us know if other ideas come to mind.

Sincerely yours,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Michael
Top achievements
Rank 1
answered on 26 Oct 2011, 06:02 PM
Hi Steve,

Is it still not possible to set the line height for a text box?  I can't see an option to set it in either the text box or html text box.  This seems like a pretty basic formatting requirement to me.

Michael
0
Steve
Telerik team
answered on 28 Oct 2011, 05:11 PM
Hi Michael,

Can you elaborate on the exact case you've hit in which you need to manually change the line spacing? Currently it is being setup according to the used font and one should not need to modify it, unless trying to "hack" the reporting engine. Note that we're not a word processing program, nor a document format, but a template that allows you to export to both + a lot more formats. The programs that work with these formats use different line spacing when drawing text lines i.e. different format is opened by different program, while we measure using the same line spacing for all formats.

Greetings,
Steve
the Telerik team

Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

0
Michael
Top achievements
Rank 1
answered on 28 Oct 2011, 11:07 PM
Hi Steve,

Well the scenario I encountered was one where some static text (i.e. not data generated, just part of the report template) needed to be spaced out for emphasis.  I got round this by simply breaking the text into several text boxes and spacing them out, but obviously this would not work with dynamic text.

I can think of plenty of cases where it would be necessary to adjust line spacing of dynamically generated text though.  For example, if you are producing a report that is designed to be a standard letter to a customer, or a sales invoice, or a packing label etc. then you might very well want to adjust line spacing in order to produce an aesthetically pleasing and readable document.  Your reporting engine enables very precise control of the placement of objects in its output, so it does lend itself very well to these kinds of report - in fact I recently produced a report using it that printed onto sheets of pre-cut self adhesive labels and it worked very well (fortunately I didn't need to adjust line spacing!).  I'm thinking of the kinds of report that get exported as pdfs and then emailed out to end users, so there's no further requirement or opportunity to adjust their layout in some other application.

So in this sense I for one do want to be able to use your product as a kind of word processor, and many of the basic requirements of a word processor are already incorporated, so it seems a shame to leave out things like line spacing.  Perhaps you could consider this for a future release?

Thanks,

Michael
0
Erick
Top achievements
Rank 1
answered on 08 Oct 2013, 06:28 PM
Already there is some way to edit the Line Spacing of a textbox??
0
Nasko
Telerik team
answered on 09 Oct 2013, 11:36 AM
Hello Erick,

Currently it is not possible to specify line spacing and there isn't any built-in alternative that could fulfill this requirement.

As stated in a previous reply to this thread, if your text is static, you can achieve line spacing effect by simply breaking the text into several text boxes and spacing them out.

Regards,
Nasko
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
Erick
Top achievements
Rank 1
answered on 09 Oct 2013, 11:58 AM
well i find something like that...

But isnt good to my project :(


if (textBox1.Value == "")
                {
                    textBox1.Value = exampleInfo;
                }
                else
                {
                    string[] teste = textBox1.Value.Split(',');
                    if (teste.Count() == 10) // the value that u want
                    {
                        textBox1.Value += ", \r\r\n" + exampleInfo;
                    }
                    else
                    {
                        textBox1.Value += ", " + exampleInfo;
                    }
0
Michael
Top achievements
Rank 1
answered on 09 Oct 2013, 12:35 PM
Hi Nasko,

Is this feature even still on the roadmap (as it appeared to be way back in 2008)?  I haven't been using Telerik Reports for a while now and am really surprised to find that this serious omission has still not been resolved.  I would hesitate to use Telerik Reports in any new project if this basic requirement cannot be met.

The reasons I gave below for needing this functionality are just as relevant, if not more so, in today's market.

Regards,


Michael 
0
Stef
Telerik team
answered on 14 Oct 2013, 11:58 AM
Hello Michael,

The line spacing feature is still in our plans. Currently our suggestion is to use alternatives as padding and line breaks to produce the desired effect. However, we consider having line spacing control in future in Telerik Reporting.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
TechSavvySam
Top achievements
Rank 1
answered on 17 Sep 2014, 05:19 PM
I'd like to see this feature available too.
0
Rehman
Top achievements
Rank 1
answered on 12 May 2015, 03:11 PM

waiting for it.

it is very common CSS feature. line-height: 90%

is there a way to use CSS for text box for the line height and spacing between lines?

0
Stef
Telerik team
answered on 14 May 2015, 07:31 AM
Hello Rehman,

The feature is not supported. Please use the public feedback portal to log or vote for the feature request as features are considered for implementation based on the demand for them.

In the available Telerik Reporting versions the space between lines is determined by the specifics of the used font.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
ARECNeprix
Top achievements
Rank 1
Iron
answered on 10 Apr 2024, 08:42 AM

Hello,

Are there any updates on this issue?

Thanks.

Tags
General Discussions
Asked by
ll1231
Top achievements
Rank 1
Answers by
Steve
Telerik team
Michael
Top achievements
Rank 1
Erick
Top achievements
Rank 1
Nasko
Telerik team
Stef
Telerik team
TechSavvySam
Top achievements
Rank 1
Rehman
Top achievements
Rank 1
ARECNeprix
Top achievements
Rank 1
Iron
Share this question
or