Reply
 
LinkBack Thread Tools Display Modes
Old 11-19-2009, 04:16 PM   #1 (permalink)
Junior Member
 
Bill Battaglia's Avatar
 
Join Date: Sep 2006
Posts: 28
Bill Battaglia is on a distinguished road
Send a message via Skype™ to Bill Battaglia
Default Report Boarders

Trying to have a Report with Boarders which will be displayed behind other Objects – Items, Package, Headers, etc… I have successfully display the boarder by adding it to the Page Footer but it does not go behind all Objects.

Attached is a screen shot of the Report.

I was able to accomplish this in Crystal, but do not see this type of option.

Basically – how do you display a Background Boarder without utilizing the Watermark feature or is that the only way?

Thanks,

Bill
Attached Images:
File Type: jpg BoaderIssue.jpg (19.9 KB, 15 views)
__________________
Bill Battaglia

designecentral.com
bill@designecentral.com
925.231.0288
Bill Battaglia is offline   Reply With Quote
Old 11-20-2009, 12:28 PM   #2 (permalink)
Senior Member
 
Join Date: May 2009
Location: Chennai, India
Posts: 157
nkarthick is on a distinguished road
Default Try this -

Can you try the below script code and see it works for you -

Code:

Sub ActiveReport_PageStart

   rpt.CurrentPage.DrawRoundRect(0.25f, 0.25f, 8f, 10.5f,0.15f,0.15f)
       
End Sub
Include the above ActiveReport_PageStart procedure into your report script code.

Syntax of the DrawRoundRect method is
DrawRoundRect(left As Single, top As Single, width As Single, height As Single, edgeWidth As Single, edgeHeight As Single)

synatx for round rect.JPG


Hope it helps.
__________________
Narayana Karthik
nkarthick is offline   Reply With Quote
Old 11-20-2009, 10:15 PM   #3 (permalink)
Junior Member
 
Bill Battaglia's Avatar
 
Join Date: Sep 2006
Posts: 28
Bill Battaglia is on a distinguished road
Send a message via Skype™ to Bill Battaglia
Default Color & Line Weight

OK, was able to created the Boarder now how do I set the Color and Line Weight?

Thanks,

Bill
__________________
Bill Battaglia

designecentral.com
bill@designecentral.com
925.231.0288
Bill Battaglia is offline   Reply With Quote
Old 11-21-2009, 05:02 AM   #4 (permalink)
Senior Member
 
Join Date: May 2009
Location: Chennai, India
Posts: 157
nkarthick is on a distinguished road
Default Try this -

In RoundRect as of now there is no way to set the color and line weight.

But you can use the DrawBorder method to set the Color and LineStyle

Try the below script -

Code:
Sub ActiveReport_PageStart

        Dim b As New Border()
        b.Style = BorderLineStyle.ThickSolid
        b.Color = Color.YellowGreen
        rpt.CurrentPage.DrawBorder(b,0.25f, 0.25f, 8f, 10.5f)
       
End Sub
But for Border we cannot set the curvy edge.

Below enlisted are the BorderLineStyle provided by AR

  1. BorderLineStyle.Dash
  2. BorderLineStyle.DashDot
  3. BorderLineStyle.DashDotDot
  4. BorderLineStyle.Dot
  5. BorderLineStyle.Double
  6. BorderLineStyle.ExtraThickSolid
  7. BorderLineStyle.None
  8. BorderLineStyle.Solid
  9. BorderLineStyle.ThickDash
  10. BorderLineStyle.ThickDashDot
  11. BorderLineStyle.ThickDashDotDot
  12. BorderLineStyle.ThickDot
  13. BorderLineStyle.ThickDouble



Hope it helps.
__________________
Narayana Karthik
nkarthick is offline   Reply With Quote
Old 11-21-2009, 01:28 PM   #5 (permalink)
Junior Member
 
Bill Battaglia's Avatar
 
Join Date: Sep 2006
Posts: 28
Bill Battaglia is on a distinguished road
Send a message via Skype™ to Bill Battaglia
Default Back to Watermark

OK, so for this design I stuck with utilizing a Watermark.

Thanks,

Bill
__________________
Bill Battaglia

designecentral.com
bill@designecentral.com
925.231.0288
Bill Battaglia is offline   Reply With Quote
Reply

Tags
boarders, customization, reporting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Custom Report and Dynamic grouping bcharnz Reports and Reporting Center 4 12-03-2009 10:00 PM
sub-report force groupings grichards Reports and Reporting Center 4 08-07-2009 06:23 AM
Report Center Crashing MatthewD Reports and Reporting Center 0 09-16-2008 09:35 PM
Inserting a contract report into Main report bcharnz Reports and Reporting Center 4 11-29-2007 08:21 PM
Same Man & Model, Different Description jpol Reports and Reporting Center 4 10-11-2007 03:31 PM


All times are GMT. The time now is 09:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
D-Tools, Inc.