◆ constructor() [1/2]
| HTML2PDFRelatedResource.constructor |
( |
r |
| ) |
|
@constructor
- Parameters
-
| {NativeObjectReference} | r - The native object reference to wrap |
@description Creates a new wrapper instance around a native C++ object. The wrapper manages the object's lifecycle according to the ownership rules.
◆ constructor() [2/2]
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.
◆ 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".