cancel
Showing results for 
Search instead for 
Did you mean: 

adjust vertical distance

Former Member
0 Kudos

Hi all,

How to adjust string's vertical distance with a textbox?

Thank you very much

Clara

Accepted Solutions (1)

Accepted Solutions (1)

former_member208657
Active Contributor
0 Kudos

I'm not sure what you mean by vertical distance. Can you offer some more explanation for what effect you are attempting to produce?

A TextObject has the following properties. These might help you.

ReportObject.Border Gets the Border object.

TextObject.Color Gets or sets the color of the object.

TextObject.Font Gets the Font object.

ReportObject.Height Gets or sets the object's height, in twips.

ReportObject.Kind Gets kind of report object from the ReportObjectKind enum.

ReportObject.Left Gets or sets the object's upper left position, in twips.

ReportObject.Name Gets the object's name.

ReportObject.ObjectFormat Gets the ObjectFormat object.

TextObject.Text Gets or sets the text within the text object.

ReportObject.Top Gets or sets the object's upper top position, in twips.

ReportObject.Width Gets or sets the object's width, in twips.

Former Member
0 Kudos

Hi David,

If I put string in a textbox and enlarge the height of the textbox, the string will remain at top. How can I make the string appear in the middle or bottom of the textbox.

Thank you very much,

Clara

former_member208657
Active Contributor
0 Kudos

You can push the text further down by adding carriage returns ahead of your text. I don't believe there is vertical alignment available for report objects in Crystal Reports. You can only adjust the horizontal alignment.

Former Member
0 Kudos

thank you very much!

Answers (0)