Foxit PDF SDK

Public Member Functions | Static Public Attributes | List of all members
FoxitPDFSDKPython3.HTML2PDFRelatedResource Class Reference

Inherits FoxitPDFSDKPython3._object.

## Public Member Functions
def | HTML2PDFRelatedResource ()
| Constructor.
def | HTML2PDFRelatedResource (related_resource_file, resource_file_relative_path)
| Constructor, with parameters. More...

## Static Public Attributes
| related_resource_file = _fsdk.HTML2PDFRelatedResource_related_resource_file
| The related resouce file.
| resource_file_relative_path = _fsdk.HTML2PDFRelatedResource_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.

## Constructor & Destructor Documentation

## ◆ HTML2PDFRelatedResource()

def FoxitPDFSDKPython3.HTML2PDFRelatedResource.HTML2PDFRelatedResource | ( |  | 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

FoxitPDFSDKPython3.HTML2PDFRelatedResource.resource_file_relative_path = _fsdk.HTML2PDFRelatedResource_resource_file_relative_path
| static

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