Hex.Document.export_html

### Method

# Hex Documentexport_html

#### Declaration

    gboolean
    hex_document_export_html (
      HexDocument* doc,
      const char* html_path,
      const char* base_name,
      gint64 start,
      gint64 end,
      guint cpl,
      guint lpp,
      guint cpw
    )

#### Description

Export the `HexDocument` to HTML.

#### Parameters

`html_path` | `const char*`
| Path to the directory in which the HTML file will be saved.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`base_name` | `const char*`
| The base name of the filename to be saved, without the .html extension.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`start` | `gint64`
| Starting offset byte of the payload in the range to save.
`end` | `gint64`
| Ending offset byte of the payload in the range to save.
`cpl` | `guint`
| Columns per line.
`lpp` | `guint`
| Lines per page.
`cpw` | `guint`
| Characters per word (for grouping of nibbles)

#### Return value

Returns: | `gboolean`
| `TRUE` if the operation was successful; `FALSE` otherwise.