Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: ReportObject vs DrawingObject Post Reply Post New Topic
Author Message
ultraspxse
Newbie
Newbie


Joined: 04 Nov 2007
Location: Canada
Online Status: Offline
Posts: 4
Quote ultraspxse Replybullet Topic: ReportObject vs DrawingObject
    Posted: 05 Nov 2007 at 7:12am
Using Crystal Reports .NET 2005 appears to have a problem while altering the height of a ReportObject at runtime if the type is of 'Box' 
 
The Height property is part of the ReportObject class definition and is described with"Gets or sets the object height, in twips" 
 
During runtime it is not writeable providing the error message "Height property is obsolete. Please use Bottom property to change the height"
 
Since bottom is not a recognized property of the ReportObject, it appears the box is implementing the DrawingObject which inherits the ReportObject but for some strange reason implements the sizing features Bottom and Right instead of Height and Width.
 
I just want to confer that enumerating the objects in a report has to be done using 2 different collections?
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.