At 07:54 AM 6/20/2008, Bill Niehaus wrote:
I am printing labels and would like one field to be oriented vertical
(a number on it's side) while the rest are oriented horizontal.
Is there a way to do this?
Bill,
Here's how:
01. While in Label Designer, define a variable for the field to be oriented
vertically on a side of the label
Example:
Expression Name: vZipCode
Type: TEXT
Expression: (EmpZip)
02. Place a "Rotated Label" object on the label
Adjust the height, font, size, and color accordingly
Use the "Arial" font or any font that can be rotated
03. Right-click on a rotated label object and change the "Angel..." property
to "Rotated at: 90"
04. Also, assign a Component ID to rotated label object, such as VerticalLabel
05. Use the following code as "Before Generate Custom EEP..." for Detail Band
PROPERTY RotatedLabel CAPTION .vZipCode
RETURN
06. Click on [Label Preview] tab to preview
That's all there is to it!
Here is a sample to demonstrate the use of "Rotated Label" object in Labels.
http://www.rbase.com/rbg76/labels/RotatedLabel.pdf
Very Best R:egards,
Razzak.