Foxit PDF SDK
FSDK.HTML2PDFRelatedResource Class Reference

Public Member Functions

 constructor ()
 Constructor.
 
 constructor (related_resource_file, resource_file_relative_path)
 Constructor, with parameters. More...
 

Public Attributes

 related_resource_file
 The related resouce file.
 
 resource_file_relative_path
 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.

Member Function Documentation

◆ constructor()

FSDK.HTML2PDFRelatedResource.constructor ( related_resource_file  ,
resource_file_relative_path   
)

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.

Member Data Documentation

◆ resource_file_relative_path

FSDK.HTML2PDFRelatedResource.resource_file_relative_path

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".