fpSetPartitionOn

This function tells File Content Extraction when to begin a new partition. For more information, see Partitioning.

Syntax

KVErrorCode pascal fpSetPartitionOn(
    void* pContext,
    const KVPartitionSetOn* pSetPartitionOn);

Arguments

pContext

A pointer to an Export session that you initialized by calling fpInit().

pSetPartitionOn A pointer to a KVPartitionSetOn structure that tells File Content Extraction when to create a new partition.

Returns

The return value is one of the error codes defined in KVErrorCode in kverrorcodes.h.

Discussion

This function runs in-process or out-of-process. See Convert Files Out-of-Process.

When you convert out-of-process, you must call this function after the call to KVHTMLStartOOPSession() and before the call to KVHTMLEndOOPSession().

When you convert Word Processing documents with partitioning on hard breaks or page size changes: