🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8477

(VB-CS2) table row height property not working

#8477
From: Doug_Mortimer
Date: Thu, 05 Oct 2006 00:20
24 lines
1380 bytes
I am placing a table on various documents, with the first column twice as wide as the other columns, and the first row twice as high as the other rows. The columns do what I ask, but the rows are troublesome.

'the following lines work...

myTable.Columns(1).Width = "18pt"

For x = 2 To myTable.Columns.Count
   myTable.Columns(x).Width = "9pt"
Next

myTable.Rows(1).Height = "18pt"

'but this doesn't

For x = 2 To myTable.Rows.Count
   myTable.Rows(x).Height = "9pt"
Next

'end code

The rows I set to 9pt ended up being 16.3203125pt high, although the row I set to 18pt did not ignore the command. Does this have to do with cell leading, or is there some minimum row height that needs overridden? And if so, why didn't they limit the column width?

Thanks,
Doug
Technical Details
Message-ID: <3bc1e00e.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.albasani.net!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,8ce88f0061b0f6fb,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Doug_Mortimer@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: (VB-CS2) table row height property not working
Message-ID: <3bc1e00e.-1@webcrossing.la2eafNXanI>
Date: Wed, 4 Oct 2006 17:20:03 -0700
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit