How to Manipulate Field Objects in Crystal Reports


To manipulate objects in Report Designer, you may wonder how to get it done. Once you understand it, it’s a straightforward process, but getting to that point can be challenging. I tried doing it with VB.NET:

It involves some intricate work like casting (type conversion) to make properties accessible.

It seems that DirectCast is less resource-intensive than CType. You can find information about C# in the following page:

Reference: Crystal Reports

While it appears that you can’t vertically align text in the middle in Crystal Reports, this method might allow fine adjustments through the Location setting of the field.