File Content Extraction 25.4
HTML Export SDK C Programming Guide

# KVPartitionDimensions

This structure contains the dimensions of a partition. This structure is defined in `kvpartition.h`.

    typedef struct tag_KVPartitionDimensions
    {
        KVStructHeader;
        //These values are in pixels
        int width;
        int height;
        int left_margin;
        int right_margin;
        int top_margin;
        int bottom_margin;
    }
    KVPartitionDimensions;

## Member Descriptions

`KVStructHeader` | The version of the structure. See KVStructHead.
`width` | The partition width in pixels.
`height` | The partition height in pixels.
`left_margin` | The partition left margin in pixels.
`right_margin` | The partition right margin in pixels.
`top_margin` | The partition top margin in pixels.
`bottom_margin` | The partition bottom margin in pixels.

## Discussion

The pixel values use the CSS definition of a pixel (that is, 1/96 inch).

The dimensions are derived from the values stored in the processed document, and can be zero if no values were stored. In particular:

- Documents that were converted by using the spreadsheet structured access layer never produce partitions with dimension information.
- Documents that were converted by using the presentation graphic structured access layer never produce partitions with margins.

For documents that were converted by using the word processing structured access layer, this structure gives the page height that the document specifies. You can use the reported height to ensure that partitions do not display with a smaller height than native pages.

Copyright 1997-2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.4

Topic Title: KVPartitionDimensions