Windward Engine API Reference
ReportTypeToExtension Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > Report Class : ReportTypeToExtension Method




type
The report type, such as REPORT_TYPE.DOCX

Glossary Item Box

Convert a REPORT_TYPE to the extension for that file type. Does not include the . before the extension. For HTML it returns html and for a printer it returns printer. It returns xml for both WordML and SpreadML.

Syntax

Visual Basic (Declaration) 
Public Shared Function ReportTypeToExtension( _
   ByVal type As Report.REPORT_TYPE _
) As String
Visual Basic (Usage)Copy Code
Dim type As Report.REPORT_TYPE
Dim value As String
 
value = Report.ReportTypeToExtension(type)
C# 
public static string ReportTypeToExtension( 
   Report.REPORT_TYPE type
)
Managed Extensions for C++ 
public: static string* ReportTypeToExtension( 
   Report.REPORT_TYPE type
) 
C++/CLI 
public:
static String^ ReportTypeToExtension( 
   Report.REPORT_TYPE type
) 

Parameters

type
The report type, such as REPORT_TYPE.DOCX

Return Value

The file extension such as "docx"

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.