Foxit PDF RDK

Public Member Functions | Public Attributes | List of all members
HTML2PDFRelatedResource Class Reference
Inheritance diagram for HTML2PDFRelatedResource:

## Public Member Functions
| constructor ()
| Constructor.
| constructor (related_resource_file, resource_file_relative_path)
| Constructor, with parameters. More...
Public Member Functions inherited from NativeObjectWrapper
| constructor (r)
| GetPointerAsNumber ()

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

Examples
  /Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.

## Member Function Documentation

## ◆ constructor()

HTML2PDFRelatedResource.constructor | ( | related_resource_file | ,
|  | resource_file_relative_path |
| ) |  |

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.

## Member Data Documentation

## ◆ resource_file_relative_path

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