public void AddTemplateSubReport( string templatePath, int insertIndex, bool adjustPageSize, bool newTemplate )
Public Sub AddTemplateSubReport( _ ByVal templatePath As String, _ ByVal insertIndex As Integer, _ ByVal adjustPageSize As Boolean, _ ByVal newTemplate As Boolean _ )
Parameters
- templatePath
- The report template file path.
- insertIndex
- Position to add subreport. If -1, the subreport is added to the end of the report. If 0, the subreport is added to the beginning of the report.
- adjustPageSize
- Adjust the size of the subreport to match main report.
- newTemplate
- Specified template file is a new template.