Foxit PDF SDK
 All Classes Namespaces Functions Enumerations Enumerator Properties Pages
foxit.addon.conversion.HTML2PDFRelatedResource Class Reference

Inherits SystemIDisposable.

Public Member Functions

 HTML2PDFRelatedResource ()
 Constructor.
 
 HTML2PDFRelatedResource (FileReaderCallback related_resource_file, string resource_file_relative_path)
 Constructor, with parameters. More...
 

Properties

FileReaderCallback related_resource_file [get, set]
 The related resouce file.
 
string resource_file_relative_path [get, set]
 The path of related_resource_file in the HTML content. More...
 

Detailed Description

This class represents related resource file data used for converting HTML to PDF.

Constructor & Destructor Documentation

foxit.addon.conversion.HTML2PDFRelatedResource.HTML2PDFRelatedResource ( FileReaderCallback  related_resource_file,
string  resource_file_relative_path 
)
inline

Constructor, with parameters.

Parameters
[in]related_resource_fileThe related resouce file.
[in]resource_file_relative_pathThe path of related_resource_file in the HTML content.
Returns
None.

Property Documentation

string foxit.addon.conversion.HTML2PDFRelatedResource.resource_file_relative_path
getset

The path of related_resource_file in the HTML content.

This value should be consistent with the path in the HTML content. For example: The path of related_resource_file in HTML content is , this value should be set to "../one.png".