Zip Code
- Last UpdatedNov 19, 2025
- 4 minute read
The Zip Code control is used to add a zip code a report.

In the Property Grid, the Zip Code control's properties are divided into the following groups:
Appearance
-
Background Color
Specifies the background colour for the control. This option is also available on the Formatting Toolbar (
).
-
Borders, Border Color and Border Width
Specifies border settings for the control.
-
Font
Specifies the font settings for the control. Some of these settings are available on the Formatting Toolbar.
-
Foreground Color
Specifies the text and image colour for the bar code. This option is also available in the Formatting Toolbar (
).
-
Formatting Rules
Displays the Formatting Rules Editor, used to choose which rules should be applied to the control during report generation, and define the precedence of the applied rules. for further information, refer to Conditionally Change a Control's Appearance.
-
Padding
Specifies indent values which are used to render the contents of a Bar Code.
-
Style Priority
Used to define the priority of various style elements (such as background colour, border colour, ). for further information on style inheritance, refer to Styles Concepts.
-
Styles
This property is used to define odd and even styles for the control, as well as to assign an existing style to the control (or a newly created one). for further information on style inheritance, refer to Styles Concepts.
Behavior
-
Anchor Vertically
Specifies the vertical anchoring style of the control, so that after page rendering it stays attached to the top control, bottom control, or both.
-
Keep Together
Specifies whether the contents of the control can be horizontally split across pages. In other words, if the control occupies more space than remains on the page, this property specifies whether this Zip Code should be split between the current page and the next, or whether it will be printed entirely on the next page. If the control does not fit on the next page either, then the Zip Code will be split despite this property's value.
-
Scripts
This property contains events, which can be handled with the scripts. for further information on scripting, refer to Handle Events via Scripts.
-
Segment Width
This property setting specifies the width of the lines (in pixels) used to draw the numbers in the zip boxes of the control.
-
Visible
Specifies whether the control should be visible when the report is previewed.
Data
-
(Data Bindings)
If the current report is bound to data, this property enables users to bind some of the control's properties (Bookmark, Navigation URL and Tag) to a data field obtained from the report's data source, and to apply a format string to it. for further information, refer to Display Values from a Database (Bind Report Elements to Data).
-
Tag
This property enables users to add additional information to the control; for example its Id, by which it can then be accessed by scripts.
If the current report has a data source, the Tag property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Tag.Binding dropdown list, select the required data field.
-
Text
Used to enter the text of the Zip Code. Enter digits and dashes only. Other characters will not be displayed.
If the current report has a data source, the Text property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property, and in the Text.Binding dropdown menu, select the required data field. for further information, refer to Display Values from a Database (Bind Report Elements to Data).
Design
-
(Name)
Determines a control's name, by which it can be accessed in the Property Grid and by scripts.
Layout
-
Location
Specifies the control's location, in report measurement units.
-
Size
Specifies the control's size, in report measurement units.
Navigation
-
Bookmark and Parent Bookmark
These properties are used to create a hierarchical structure within a report called a document map. For an explanation and help, refer to Add Bookmarks.
If the current report has a data source, the Bookmark property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Bookmark.Binding dropdown list, select the required data field.
-
Navigation URL and Navigation Target
Use the Navigation URL property to specify a URL for web browser navigation when a user clicks the control. The web browser displays a page in a window or a frame as specified by the Navigation Target property.
Note: A URL should have an appropriate prefix (for example, 'http://').
Cross references can be created within the report by assigning the name of the target control to the Navigation URL property, and setting the Navigation Target property to _self. for further information, refer to Create Hyperlinks.
If the current report has a data source, the Navigation URL property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Navigation URL.Binding dropdown menu, select the required data field.