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)
Syntaxpublic static string ToDocument(
int pReportID,
int pTemplateID = 0
)
Public Shared Function ToDocument (
pReportID As Integer,
Optional pTemplateID As Integer = 0
) As String
Parameters
- pReportID
- Type: SystemInt32
Report ID - pTemplateID (Optional)
- Type: SystemInt32
Template file ID or get report template by report status
Return Value
Type:
StringReport template data item.
Property
Name value is report file name including path or exception message
Exceptions| Exception | Condition |
|---|
| 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