HtmlSaveOptions

HtmlSaveOptions

Overview

HtmlSaveOptions is a class in Aspose.PDF FOSS for Python.

Options for saving PDF documents as HTML.

This class provides 1 method for working with HtmlSaveOptions objects in Python programs. Available methods include: __init__. All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: aps_intermediate_file, max_distance_between_text_lines, resources_directory, split_into_pages, use_area_clipping, xps_intermediate_file.

Properties

NameTypeAccessDescription
split_into_pagesboolRead/WriteGet or set whether to split the output into separate HTML files per page.
resources_directorystr | NoneRead/WriteGet or set the directory where resources (images, CSS, etc.) will be saved.
xps_intermediate_filestr | NoneRead/WriteGet or set the path for the intermediate XPS file.
aps_intermediate_filestr | NoneRead/WriteGet or set the path for the intermediate APS file.
use_area_clippingboolRead/WriteGet or set whether to use area clipping for text extraction.
max_distance_between_text_linesfloatRead/WriteGet or set the maximum distance between text lines for grouping.

Methods

SignatureDescription
__init__()Initialize HTML save options with default values.

See Also