Label Address Printing in Crystal Reports for Visual Studio.NET
Posted on 2005-05-06
I need to print Mailing Address Labels using Crystal Reports in VS.NET.
I use C# as my coding language.
I use the Mail Label expert wizard to do that in design time.
My requirement is that I need to be able to change the Width and
Height of the Label (which is actually the Detail section) during
Run-Time. The user will enter the Label dimensions in a separate
screen. The parameters would be like
Number of Labels to print in a row (across the page)
Number of blank lines between two label rows
I am able to control all of them using the Layout tab in Format Sections dialog.
I need to fetch this information at run-time and apply on the CR
object programmatically. I tried accessing the SectionFormat object
but it provides all the boolean properties except "Format Multiple
Columns", which makes the Layout tab visible at design time.
Please let me know if this can be done using the Object Model of CR.
Thanks In Advance