Gets or sets a ReportInfo object containing report metadata.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

Remarks

Reports may include general information such as a title, author, and keywords.

Such global information about the document itself (as opposed to its content or structure) is called metadata, and is intended to assist in cataloguing and searching for reports and report definitions in external databases.

Examples

The report metadata is automatically included in export formats that support it, such as PDF and RTF, for example:

Copy CodeVisual Basic
' set report metadata
Dim info As ReportInfo = c1r.ReportInfo
info.Creator = "The Musical Report Generator"
info.Author = "John S. Bach"
info.Title = "Fugues, Sonatas, and Offerings"
info.Subject = "Electronic/Baroque Titles"
info.Keywords = "Baroque, Strings, Clavier, Harpsichord"
' render report to PDF
c1r.RenderToFile("c:\temp\test.pdf", FileFormatEnum.Pdf)
Copy CodeC#
// set report metadata
ReportInfo info = c1r.ReportInfo;
info.Creator  = "The Musical Report Generator";
info.Author   = "John S. Bach";
info.Title    = "Fugues, Sonatas, and Offerings";
info.Subject  = "Electronic/Baroque Titles";
info.Keywords = "Baroque, Strings, Clavier, Harpsichord";
// render report to PDF
c1r.RenderToFile("c:\temp\test.pdf", FileFormatEnum.Pdf);

See Also