Foxit PDF SDK

Public Member Functions | Properties | List of all members
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

## ◆ HTML2PDFRelatedResource()

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

Constructor, with parameters.

Parameters

  [in] | related_resource_file | The related resouce file.
  [in] | resource_file_relative_path | The path of related_resource_file in the HTML content.

Returns
  None.

## Property Documentation

## ◆ resource_file_relative_path

string foxit.addon.conversion.HTML2PDFRelatedResource.resource_file_relative_path
| get set

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