I'm trying to re-create a table style like the one in the attached image. I'm using the one shown to try and figure out what I need to do to get that double-line at the bottom of the header row. So this is where I'm hitting a brick wall:
Command: (setq TblObj (vlax-ename->vla-object (car (entsel))))
Select object: #<VLA-OBJECT IAcadTable 0b7bf0e4>
Command: (vla-GetGridLinetype TblObj 0 1 acHorzBottom)
2128841888
I'm not sure what to make of 2128841888 but I'm hoping it's a way of identifying that the bottom gridline of the selected cell is a double-line. So I check the cell just below it:
Command: (vla-GetGridLinetype TblObj 1 1 acHorzBottom)
2128841896
Command: (vla-GetGridLinetype TblObj 1 1 acHorzTop)
2128841888
The bottom line throws out a completely different number and the top line throws out the same number as the bottom line in the cell above (like I would expect). Just for the record, I checked the Left and Right lines in this cell as well as a couple of others, all of them returning 2128841896 (which I'm guessing is a single line).
So I try the following:
Command: (vlax-put-property TblObj "SetGridLinetype" 2 1 acHorzBottom 2128841888)
; error: ActiveX Server returned an error: Type mismatch
Okay... what am I missing here?
EDIT: See below (i.e. I'm an idiot)