Skip to main content

Record Area

Version: 11.0

Record Area

The Record Area element is used for adding data from the database field dynamically at runtime anywhere to the page in between text. Add it to any report sections (i.e. Header, Detail or Footer). Simply specify the name of the field between #...# between regular text and it will populate the value.

Text Example​

"Dear #FirstName# #LastName#, "

To add a Record Area, select the Record Area element under the Toolbox, drag and drop it at the desired location on the page. The Record Area can be resized or repositioned using the mouse, manually changing the values in the properties window or by changing the values directly in the source.

Properties​

The Record Area element has the following properties.

PropertiesDescription
AlignA value indicating the alignment (horizontal) of the Record Area.
AutoLeadingA value indicating whether the leading of the Record Area should be calculated automatically.
CleanParagraphBreaksA value indicating clean paragraph breaks for the paragraphs of the Record Area. *See Note Below
FontA value indicating the font to be used for the Record Area.
FontSizeA value indicating the font size of the Record Area.
LeadingA value indicating the leading of the text.
ParagraphIndentA value indicating the paragraph indenting for the paragraphs of the Record Area.
ParagraphSpacingA value indicating the paragraph spacing for the paragraphs of the Record Area.
TextA value indicating the text of the Record Area.
TextColorA value indicating the text color of the Record Area.
UnderlineA value indicating whether to underline the text of the Record Area.
VAlignA value indicating the vertical alignment of the Record Area.
IdA value indicating the programmatic identifier of the Record Area.
AngleA value indicating the number of degrees to rotate the Record Area.
ExpandableA value indicating whether the Record Area is expandable or not.
HeightA value indicating the height of the Record Area.
SplittableA value indicating whether the Record Area can be split between pages.
WidthA value indicating the width of the Record Area.
XA value indicating the X coordinate of the Record Area.
YA value indicating the Y coordinate of the Record Area.

Note on CleanParagraphBreaks​

The CleanParagraphBreaks property being set to True will only have any affect on the Record Area if the Splittable property is also set to True.  In other words the paragraph will not break at all (and therefore never needs to consider the type of break) if the Splittable property is set to false. If however CleanParagraphBreaks is set to True and Splittable is also set to True then LayoutEngine will take care to make sure that any splitting performed on the Record Area will always result in at least two lines of the paragraph being kept together (no orphaned lines). The only exception to this is if the paragraph itself is only one line then that one-lined paragraph will appear by itself.