Defines the title of the print preview document.
Remarks
Property specifies the text displayed as the title of a print preview document. The text is displayed in the header of the document in the centre of the page with large font.
Text can be consisted of any alphanumerical characters and is displayed on every page of the document. The title should reflect the content of the document. By defining the property, the document can serve as an official plain report.
Print preview document, of a data displayed in the control, is accessible through the right click menu by selecting Print Preview... option. Document contains all currently displayed data in the selected control.
If value for this property is not defined, no text will be displayed.
Example (MxSpace)
To see the defined ReportName property on a control (GridEdit) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click WorkOrderManagePart.cs. Click the GridEdit control for displaying work orders and open Property Window. See the value Work Orders defined in ReportName property.
To define ReportName property
- In Solution Explorer open MxPart component (WorkOrderManagePart) which contains the control (GridEdit).
- Select the desired control (GridEdit) on the canvas.
- Open Property Window
- In section GridDisplay in ReportName property select the desired value (Work Orders).
MxPart
ReportLabel