SAP Knowledge Base Article - Public

1413371 - How to set the Horizontal Alignment of the TextObject in JRC?

Symptom

How to set the Horizontal Alignment of the TextObject in JRC?

Environment

Environment information:

  • Windows 2003 (x86) Server SP1
  • Crystal Reports For Eclipse 2.0

Resolution

To set the Horizontal Alignment of the TextObject in JRC; use the method setAlignment of the class Paragraph of the Crystal Reports Java SDK as follows:

 setAlignment (Alignment.horizontalCenter);

For more information about this method refer to the following link: http://help.sap.com/businessobject/product_guides/cr4E/en/cr4e_java_SDK.zip

Keywords

How to set the Horizontal Alignment of the TextObject in JRC, Horizontal Alignment of the TextObject. , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem

Product

SAP Crystal Reports XI