Windward Engine API Reference
Clean(Stream,Stream,TEMPLATE_TYPE,Boolean,TAG_STYLE,IEnumerable<CleanDatasource>,PARAM_MODE,Int32,Boolean) Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > Report Class > Clean Method : Clean(Stream,Stream,TEMPLATE_TYPE,Boolean,TAG_STYLE,IEnumerable<CleanDatasource>,PARAM_MODE,Int32,Boolean) Method




template
The input template stream.
cleaned
The stream to write the cleaned template to.
cleanedType
The template type for the cleaned template.
removeUnused
true to remove unused styles, fonts, etc.
tagStyle
The style tags are written out as.
datasources
The type of each datasource to be cleaned.
paramMode
The parameter mode to convert tags to.
versionTemplate
The version the template was created under. -1 for unknown.
fixExpressions
Attempt to fix evaluable expressions.

Glossary Item Box

Clean the requested template.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub Clean( _
   ByVal template As Stream, _
   ByVal cleaned As Stream, _
   ByVal cleanedType As Report.TEMPLATE_TYPE, _
   ByVal removeUnused As Boolean, _
   ByVal tagStyle As Report.TAG_STYLE, _
   ByVal datasources As IEnumerable(Of Report.CleanDatasource), _
   ByVal paramMode As DataSourceWrapper.PARAM_MODE, _
   ByVal versionTemplate As Integer, _
   ByVal fixExpressions As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim template As Stream
Dim cleaned As Stream
Dim cleanedType As Report.TEMPLATE_TYPE
Dim removeUnused As Boolean
Dim tagStyle As Report.TAG_STYLE
Dim datasources As IEnumerable(Of Report.CleanDatasource)
Dim paramMode As DataSourceWrapper.PARAM_MODE
Dim versionTemplate As Integer
Dim fixExpressions As Boolean
 
Report.Clean(template, cleaned, cleanedType, removeUnused, tagStyle, datasources, paramMode, versionTemplate, fixExpressions)

Parameters

template
The input template stream.
cleaned
The stream to write the cleaned template to.
cleanedType
The template type for the cleaned template.
removeUnused
true to remove unused styles, fonts, etc.
tagStyle
The style tags are written out as.
datasources
The type of each datasource to be cleaned.
paramMode
The parameter mode to convert tags to.
versionTemplate
The version the template was created under. -1 for unknown.
fixExpressions
Attempt to fix evaluable expressions.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.