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;
KVStructHeader
|
The KeyView 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. |
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:
For documents that were converted by using the word processing structured access layer, this structure gives the page height that the document specifies. Export does not support partitioning at soft page breaks, and therefore it is unlikely that the height of the converted document will match the reported height. You can use the reported height to ensure that partitions do not display with a smaller height than native pages.
|