Click or drag to resize

ReportToDocument Method

Create a report document from template

Namespace:  Velo.Data
Assembly:  Velo.Data (in Velo.Data.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public static string ToDocument(
	int pReportID,
	int pTemplateID = 0
)

Parameters

pReportID
Type: SystemInt32
Report ID
pTemplateID (Optional)
Type: SystemInt32
Template file ID or get report template by report status

Return Value

Type: String
Report template data item. Property Name value is report file name including path or exception message
Exceptions
ExceptionCondition
Exception Exception message as return value.

Has nothing a report template then trigger an exception.

Remarks
Report document save to temporary folder. OS variable %temp%
See Also