Class

ReportLineShape


Description

A line in a report created with the Report Layout Editor.

Methods

Name

Parameters

Returns

Shared

Constructor

controlName As String

ControlType

String

Events

Name

Parameters

Returns

AfterPrinting

BeforePrinting

Enumerations

ReportLineShape.LineStyles

LineStyles

The styles available for drawing the line.

Name

Solid = 0

Transparent = 1

Dot = 2

Dash = 3

Property descriptions


ReportLineShape.DataField

DataField As String

The name of the field from the data source to bind to the control.


ReportLineShape.FillColor

FillColor As Color

The color of the interior of the shape.


ReportLineShape.Height

Height As Double

The height of the control in Units. Height is relative to the section the control is in.


ReportLineShape.Left

Left As Double

The left side of the control in Units. Left is relative to the section the control is in.


ReportLineShape.LineColor

LineColor As Color

The color of the line. The default is &c000000.


ReportLineShape.LineStyle

LineStyle As LineStyles

The style of the line.


ReportLineShape.Name

Name As String

The name of the object.

This property is read-only.


ReportLineShape.PenHeight

PenHeight As Integer

The height in pixels used when drawing.


ReportLineShape.PenWidth

PenWidth As Integer

The width in pixels used when drawing.


ReportLineShape.Report

Report As Report

The report to which the object belongs.


ReportLineShape.Tag

Tag As Variant

A value that can be associated with the shape.


ReportLineShape.Top

Top As Double

The top of the control in Units. Top is relative to the section the control is in.


ReportLineShape.Visible

Visible As Boolean

If True, the control is visible. The default is True.


ReportLineShape.Width

Width As Double

The width of the control in Units. Width is relative to the section the control is in.


ReportLineShape.X1

X1 As Double

The point on the X axis where the line begins, measured in Units. The coordinate is relative to the section the Lineshape is in.


ReportLineShape.X2

X2 As Double

The point on the X axis where the line ends, measured in Units. The coordinate is relative to the section the Lineshape is in.


ReportLineShape.Y1

Y1 As Double

The point on the Y axis where the line begins, measured in Units. The coordinate is relative to the section the Lineshape is in.


ReportLineShape.Y2

Y2 As Double

The point on the Y axis where the line ends, measured in Units. The coordinate is relative to the section the Lineshape is in.

Method descriptions


ReportLineShape.Constructor

Constructor(controlName As String)

Creates a new ReportLineShape.

Note

Constructors are special methods called when you create an Object With the New keyword And pass In the parameters above.


ReportLineShape.ControlType

ControlType As String

Returns the type of the control.

Event descriptions


ReportLineShape.AfterPrinting

AfterPrinting

The shape has just been printed.


ReportLineShape.BeforePrinting

BeforePrinting

The shape is about to be printed.

Sample code

Compatibility

All projects types on all supported operating systems.