Class
ReportRectangleShape
Description
An rectangle in a report created with the Report Layout Editor.
Properties
Name |
Type |
Read-Only |
Shared |
---|---|---|---|
✓ |
|||
Methods
Name |
Parameters |
Returns |
Shared |
---|---|---|---|
controlName As String |
Events
Name |
Parameters |
Returns |
---|---|---|
Enumerations
ReportRectangleShape.LineStyles
LineStyles
Description goes here
Name |
---|
Solid = 0 |
Transparent = 1 |
Dot = 2 |
Dash = 3 |
Property descriptions
ReportRectangleShape.Border
Border As Double
The opacity level of the border.
ReportRectangleShape.BorderColor
BorderColor As Color
The color of the object's border.
ReportRectangleShape.BorderWidth
BorderWidth As Integer
The width of the border, in points. The default is 1.
ReportRectangleShape.DataField
DataField As String
The name of the field from the data source to bind to the control.
ReportRectangleShape.Fill
Fill As Double
The opacity of the interior, from 0 (completely transparent) to 100 (opaque).
ReportRectangleShape.FillColor
FillColor As Color
The color of the interior of the shape.
ReportRectangleShape.Height
Height As Double
The height of the control in Units. Height is relative to the section the control is in.
ReportRectangleShape.Left
Left As Double
The left side of the control in Units. Left is relative to the section the control is in.
ReportRectangleShape.Name
Name As String
The name of the object.
This property is read-only.
ReportRectangleShape.PenHeight
PenHeight As Integer
The height in pixels used when drawing.
ReportRectangleShape.PenWidth
PenWidth As Integer
The height in pixels used when drawing.
ReportRectangleShape.Report
Report As Report
The report to which the object belongs.
ReportRectangleShape.Tag
Tag As Variant
A value that can be associated with the shape.
ReportRectangleShape.Top
Top As Double
The top of the control in Units. Top is relative to the section the control is in.
ReportRectangleShape.Visible
Visible As Boolean
If True, the control is visible. The default is True.
ReportRectangleShape.Width
Width As Double
The width of the control in Units. Width is relative to the section the control is in.
Method descriptions
ReportRectangleShape.Constructor
Constructor(controlName As String)
Creates a new ReportRectangleShape with the name passed.
Note
Constructors are special methods called when you create an Object With the New keyword And pass In the parameters above.
Event descriptions
ReportRectangleShape.AfterPrinting
AfterPrinting
The shape has just been printed.
ReportRectangleShape.BeforePrinting
BeforePrinting
The shape is about to be printed.
Sample code
Compatibility
All projects types on all supported operating systems.
See also
RBReportControl parent class; Reports Module module; RBReportDocument, Report, ReportField, ReportLabel, ReportLineShape, ReportOvalShape, ReportRoundRetangleShape. ReportPicture classes.