The OutputHtmlData method is called by the HtmlExport class to output data.
[Visual Basic]
Overridable Function OutputHtmlData( _
ByVal info As HtmlOutputInfoArgs _
) As String
[C#]
virtual string OutputHtmlData(
HtmlOutputInfoArgs info
);
The implementation of OutputHtmlData uses the data passed in the info argument and stores it as the implementor requires. The return value is a file name that the calling HtmlExport class can use to place links in the main HTML page to the data. For example, as an HTML page is being created and an image is encountered that will be outputted as an HTML img, the HtmlExport object calls this method to provide the data to the implementor, and the return value from OutputHtmlData (i.e. the filename) is used as the src attribute's value. When the HTML page is ready, OutputHtmlData is called again to pass the actual HTML page's data. In this case, the file name returned by the OutputHtmlData implementation is not used.
IOutputHtml Interface | IOutputHtml Members
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.