Report (gb.report)

This class represent a report

该类继承于 ReportSection.

在需要时,通过创建一个隐含的实例,该类可以像对象一样使用。

该类是可创建

该类行为像一个只读数组。

常数
Fill  
None  
Proportional  

静态方法
Main   This method is used when the report runs in the IDE as a startup class.

属性
Autoresize   Returns or sets if the ReportLabel will automatically resize to fit its contents.
BackGround   Returns or sets the background color used by the control.
Border   Returns or sets the border of the control.
Children   Returns a collection of each control included in the container.
Count   Returns or set the number of section in the report
Data  
Debug   Returns or set if the reports are drawed in Debug mode.
Expand   Returns or sets if a control will expand if included in a container.
Fixed   Returns or sets if a control will be displayed each time it's parent is called
Font   Returns or sets the font used to draw text in the control.
Height   Returns or sets the height of the control.
Ignore   Returns or sets if a control must be ignored when its parent arranges its children.
Index  
Left   Returns or sets the position of the left border of the control relative to its parent.
Orientation   property Orientation As Integer Returns or sets the report layout orientation.
Padding   Returns or sets the distance that separates a child control from the border of the container.
PageCount   Returns the number of pages in the report
Paper   Return or set the kind of paper used for printing.
Resolution   Return or set the report resolution, in DPI (Dots Per Inches).
Scale   Change the drawing scale.
Spacing   Returns or sets the distance that separates children controls.
Text   Define the title of the section.
Top   Returns or sets the position of the top border of the control relative to its parent.
Visible   Indicates if the control is visible or not.
Width   Returns or sets the width of the control.
X   Returns or sets the position of the left border of the control relative to its parent.
Y   Returns or sets the position of the top border of the control relative to its parent.

Inherited properties
BoxShadow  
Brush   Returns or sets the brush used for drawing.
DataCount   Returns or set the number of repetitions required to read all data
DataIndex   Returns the value of the repeat count
ForceNewPage  
Id   Returns the handle of the control.
Name   Returns or sets the name of the control.
OnePiece   This property forces the contents of the container to be printed on the same page.
Parent   Returns the control container.
Range   Not activated yet
Report   Returns the report that contains the control.
Tag   Returns or sets the control tag.

方法
Clear   Remove all elements of the current report.
Clone   Return a new instance of the current report
Layout   Force the layout or redo the layout calculations for the current report.
Paint   To draw the page.
Preview   To open a preview window displaying the current report.
Print   To print the report.
Refresh   Trigger a redraw of the control.

Inherited methods
Move   Moves and/or resizes the control.

事件
Open   Raised when the report is going to be visible for the first time.

Inherited events
AfterData  
BeforeData