ActiveReports Developer 7
Shape (Section Report)
See Also Support Forum
ActiveReports Developer 7 > ActiveReports Developer Guide > Concepts > Section Report Concepts > Section Report Toolbox > Shape (Section Report)

Glossary Item Box

In ActiveReports, the Shape control is used to add simple shapes to a report. In the Style property, you can select whether to display it as an ellipse, a rectangle, or a rounded rectangle.

ShowImportant Properties

Property Description
LineColor Gets or sets the color of the shape lines.
LineStyle Gets or sets the pen style used to draw the line.
LineWeight Gets or sets the pen width used to draw the shape in pixels.
Style Gets or sets the shape type to draw.
RoundingRadius Sets the radius of each corner for the RoundRect shape type.

Shape Dialog

With the control selected on the report, in the Commands section at the bottom of the Properties window, you can click the Property dialog command to open the dialog.

ShowGeneral

Name: Enter a name for the shape that is unique within the report. This name is displayed in the Document Outline and in XML exports.

Tag: Enter a string that you want to persist with the control. If you access this property in code, it is an object, but in the Properties window or Property dialog, it is a string.

Visible: Clear this check box to hide the control.

ShowAppearance

Shape type: Select the type of shape to display. You can choose from Rectangle, Ellipse, or RoundRect. For a circle, set the control width and height properties to the same value, and choose Ellipse, or choose RoundRect and set the Rounding radius to 100%.

Rounding radius: To enable this property, set the Shape type to RoundRect. Set the percentage of rounding you want to apply to the radius of each corner of the shape, where 0% is perfectly square and 100% is perfectly round.

Line style: Select a line style to use for the shape line. You can set it to Transparent, Solid, Dash, Dot, DashDot, or DashDotDot.

Line weight: Enter the width in pixels for the shape line.

Line color: Select a color to use for the shape line.

Background color: Select a color to use for the background of the shape.

See Also

©2014. ComponentOne, a division of GrapeCity. All rights reserved.