setTitle

open fun setTitle(@Nullable title: String)

Sets a custom displayable document title. When null the default document title will be used.

Note: This method does not modify the PDF document, to persistently set the title in the PDF metadata see setTitle.

Parameters

title

Custom document title to display.