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

Draw Vertical Line in whole page

5 Answers 628 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Technology
Top achievements
Rank 1
Technology asked on 25 Aug 2011, 02:37 PM
Dear support team,

is there a way to print a vertical Line in the whole document (in details).
The line is printed only in the lines with values (See image).

Thank you in advance,
George.
Navarino Technology Department.

5 Answers, 1 is accepted

Sort by
0
Accepted
IvanDT
Telerik team
answered on 30 Aug 2011, 05:56 PM
Hello George,

A possible solution is to add a background image to your whole report with a line in it. In this way you can simulate the style you want.

Kind regards,
IvanDT
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Charlie
Top achievements
Rank 2
answered on 01 Sep 2011, 02:02 PM
I had luck adding a panel to my report to create a line like this.
The Size (for yours) would be 10in,0.01in
Then make the BorderWidth something like 2pt.
0
Alfredo
Top achievements
Rank 1
answered on 13 Oct 2011, 06:49 PM
Hi Charlie, you can helpme about , with a example of a line vertical whole page, please.
Thanks you.
0
Charlie
Top achievements
Rank 2
answered on 13 Oct 2011, 07:26 PM
I am doing this programmatically right now.  You should be able to use this information even if you're just setting the properties from the Report Designer.

 

 

private Panel CreateRowPanel()
{
    Panel panel = new Panel();
    panel.Location = new PointU(new Unit(0.1D, UnitType.Inch), new Unit(0.4D, UnitType.Inch));
    panel.Size = new SizeU(new Unit(5.9D, UnitType.Inch), new Unit(0.1, UnitType.Inch));
    panel.Style.BorderStyle.Bottom = BorderType.Solid;
    panel.Style.BorderStyle.Default = BorderType.Solid;
    panel.Style.BorderStyle.Left = BorderType.None;
    panel.Style.BorderStyle.Right = BorderType.None;
    panel.Style.BorderStyle.Top = BorderType.None;
    panel.Style.Padding.Bottom = new Unit(0.15D, UnitType.Inch);
    panel.Style.LineStyle = LineStyle.Solid;
    return panel;
}
0
Alfredo
Top achievements
Rank 1
answered on 13 Oct 2011, 08:12 PM
Hi Charlie, thank you very much for example, other question, how add more vertical lines but no more data over my table.
Send a picture.
Regards
Tags
General Discussions
Asked by
Technology
Top achievements
Rank 1
Answers by
IvanDT
Telerik team
Charlie
Top achievements
Rank 2
Alfredo
Top achievements
Rank 1
Share this question
or