ActiveReports 9
OutputHtmlData Method

Information about the output
Called by the HtmlExport class to output data. The implementation of OutputHtmlData should use the data passed in the info argument and store it as the implementer requires.
Syntax
'Declaration
 
Function OutputHtmlData( _
   ByVal info As HtmlOutputInfoArgs _
) As System.String
System.string OutputHtmlData( 
   HtmlOutputInfoArgs info
)

Parameters

info
Information about the output

Return Value

The implementation of OutputHtmlData should use the data passed in the info argument and store it as the implentator requires. The return value should be 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 outputed as an HTML img the HtmlExport object will call this method to provide the data to the implentor, and the return value from OutputHtmlData (i.e. the filename) will be used as the src attribute's value. When the HTML page is ready, OutputHtmlData will be called again to pass the actual HTML page's data, in this case the filename returned by the OutputHtmlData implementation will not be used.
Remarks

The implementation of OutputHtmlData should use the data passed in the info argument and store it as the implementor requires. The return value should be 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 output as an HTML img. the HtmlExport object will call this method to provide the data to the implementor and the return value from OutputHtmlData (i.e. the filename) will be used as the src attribute's value. 

When the HTML page is ready, OutputHtmlData will be called again to pass the actual HTML page's data. In this case the filename returned by the OutputHtmlData implementation will not be used."

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IOutputHtml Interface
IOutputHtml Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum