Formatting Crystal Reports field/Box objects
Hey
any one could help me in formatting width/height of field/box objects in crystal Reports .NET. in the book Crystal Reports for VS.NET i could not find Item property in the code below( which is in Working with CR Engine chapter)
here the code
myReport.ReportDefinition.ReportObjects.Item(" Field1");
when i tried like this there is no Item in ReportObjects property
AS iam using C#.NET i cd change a text of a TextObject but could not change the width /Height of BoxObject.
here the code i used
myBox=myReport.ReportDefinition.ReportObjects["Box1"] as BoxObject
myBox.Height = 200;
like the above code i cd change the Text Object but getting error for BoxObject.
Thanks in advance
sv
|