Export (0) Print
Expand All

2.7.13 Dogrid

Office

The Dogrid structure specifies parameters for the drawn object properties of the document.


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

xaGrid

yaGrid

dxaGrid

dyaGrid

dyGridDisplay

A

dxGridDisplay

B

xaGrid (2 bytes): An XAS_nonNeg that specifies horizontal origin point of the drawing grid. See [ECMA-376] Part 4, Section 2.15.1.43 (drawingGridHorizontalOrigin), where doNotUseMarginsForDrawingGridOrigin has the opposite meaning of fFollowMargins. The default value is 1701.

yaGrid (2 bytes): A YAS_nonNeg that specifies the vertical origin point of the drawing grid. See [ECMA-376] Part 4, Section 2.15.1.45 (drawingGridVerticalOrigin), where doNotUseMarginsForDrawingGridOrigin has the opposite meaning of fFollowMargins. The default value is 1984.

dxaGrid (2 bytes): An XAS_nonNeg that specifies the horizontal grid unit size of the drawing grid. See [ECMA-376] Part 4, Section 2.15.1.44 (drawingGridHorizontalSpacing). The default value is 180.

dyaGrid (2 bytes): A YAS_nonNeg that specifies the vertical grid unit size of the drawing grid. See [ECMA-376] Part 4, Section 2.15.1.46 (drawingGridVerticalSpacing). The default value is 180.

dyGridDisplay (7 bits): A positive value, in units specified by dyaGrid, that specifies the distance between vertical gridlines. See [ECMA-376] Part 4, Section 2.15.1.27 (displayVerticalDrawingGridEvery) where drawingGridVerticalSpacing refers to dyaGrid. The default value is 1.

A - unused (1 bit): This value is undefined, and MUST be ignored.

dxGridDisplay (7 bits): A positive value, in units specified by dxaGrid, that specifies the distance between horizontal gridlines. See [ECMA-376] Part 4, Section 2.15.1.26. (displayHorizontalDrawingGridEvery) where drawingGridHorizontalSpacing refers to dxaGrid. The default value is 1.

B - fFollowMargins (1 bit): A value that specifies whether to use margins for drawing grid origin. See [ECMA-376] Part 4, Section 2.15.1.41 (doNotUseMarginsForDrawingGridOrigin), where the meaning is the opposite of fFollowMargins. The default is 1.

Show:
© 2015 Microsoft