Parameters |
Description |
OdInt32 nRow |
[in] Row index. |
OdInt32 nCol |
[in] Column index. |
OdDb::GridLineType nGridLineTypes |
[in] Grid linetype. |
OdDb::LineWeight nLineWeight |
[in] Grid lineweight. |
Sets the grid lineweight of the cell, row or column. Use a valid row index and pass the column index '-1' to set the row grid lineweight. Use a valid column index and pass the row index '-1' to set the column grid lineweight.
Grid linetype should take one of the following values:
Name |
Value |
kInvalidGridLine |
0x00 |
kHorzTop |
0x01 |
kHorzInside |
0x02 |
kHorzBottom |
0x04 |
kVertLeft |
0x08 |
kVertInside |
0x10 |
kVertRight |
0x20 |
kHorzGridLineTypes |
kHorzTop|kHorzBottom|kHorzInside |
kVertGridLineTypes |
kVertLeft|kVertRight|kVertInside |
kOuterGridLineTypes |
kHorzTop|kHorzBottom|kVertLeft|kVertRight |
kInnerGridLineTypes |
kHorzInside|kVertInside |
kAllGridLineTypes |
kOuterGridLineTypes|kInnerGridLineTypes |
Grid lineweight should take one of the following values:
Name |
Value |
kLnWt000 |
0 |
kLnWt005 |
5 |
kLnWt009 |
9 |
kLnWt013 |
13 |
kLnWt015 |
15 |
kLnWt018 |
18 |
kLnWt020 |
20 |
kLnWt025 |
25 |
kLnWt030 |
30 |
kLnWt035 |
35 |
kLnWt040 |
40 |
kLnWt050 |
50 |
kLnWt053 |
53 |
kLnWt060 |
60 |
kLnWt070 |
70 |
kLnWt080 |
80 |
kLnWt090 |
90 |
kLnWt100 |
100 |
kLnWt106 |
106 |
kLnWt120 |
120 |
kLnWt140 |
140 |
kLnWt158 |
158 |
kLnWt200 |
200 |
kLnWt211 |
211 |
kLnWtByLayer |
-1 |
kLnWtByBlock |
-2 |
kLnWtByLwDefault |
-3 |
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|