SplitHeadingLevel

EbookSaveOptions.SplitHeadingLevel property

Specifies the maximum level of headings at which to split the e-Book file. Default value is 2. Setting it to 0 will disable splitting, so all content of the e-Book will be incorporarted into a single package inside the resultant file.

public int SplitHeadingLevel { get; set; }

Remarks

When this property is set to a value from 1 to 9, the document will be split at paragraphs formatted using Heading 1, Heading 2 , Heading 3 etc. styles up to the specified heading level.

By default, only Heading 1 and Heading 2 paragraphs cause the document to be split. Setting this property to zero (or lesser then zero) will cause the document not to be split at heading paragraphs at all.

See Also