ArcFM Desktop Developer Guide
WriteToHtml<T>(String,T,String) Method


Desired file name (without extension) for the output file.
IXmlSerializable data
Required. Path to a stylesheet to transform XmlSerializable data. The output type of the stylesheet should be html.
Apply a stylesheet to serialized data, then transform it into a html document that is written to the temp directory.
Syntax
'Declaration
 
Public Shared Function WriteToHtml(Of T As IXmlSerializable)( _
   ByVal filename As String, _
   ByVal data As T, _
   ByVal stylesheetPath As String _
) As String
'Usage
 
Dim filename As String
Dim data As T
Dim stylesheetPath As String
Dim value As String
 
value = PxExportUtilities.WriteToHtml(Of T)(filename, data, stylesheetPath)
public static string WriteToHtml<T>( 
   string filename,
   T data,
   string stylesheetPath
)
where T: IXmlSerializable

Parameters

filename
Desired file name (without extension) for the output file.
data
IXmlSerializable data
stylesheetPath
Required. Path to a stylesheet to transform XmlSerializable data. The output type of the stylesheet should be html.

Type Parameters

T

Return Value

Path to html file on success, null on failure.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

PxExportUtilities Class
PxExportUtilities Members

 

 


Send Comment