TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Andrea on January 11, 2017, 11:24:06 am

Title: Table TextHeight for specific Cell
Post by: Andrea on January 11, 2017, 11:24:06 am
Hi all,..

i'm trying to set a text height for a specific cell in a AutoCAD Table.
vla-SetTextHeight seem to set only for the entire row..

any direction will be appreciated.
Thank you.
Title: Re: Table TextHeight for specific Cell
Post by: Master_Shake on January 11, 2017, 11:56:21 am
Similar to excel, I do not think you can have cells with different heights within the same row.
Title: Re: Table TextHeight for specific Cell
Post by: Andrea on January 11, 2017, 12:13:01 pm
Yes its possible by changing the textsize in the text editor.
Similar to excel :)

Title: Re: Table TextHeight for specific Cell
Post by: ronjonp on January 11, 2017, 12:14:09 pm
Maybe vla-setcelltextheight ?
Title: Re: Table TextHeight for specific Cell
Post by: Andrea on January 11, 2017, 12:16:52 pm
Maybe vla-setcelltextheight ?

Thank you....I'll try this it seem to be logic.
Title: Re: Table TextHeight for specific Cell
Post by: Andrea on January 11, 2017, 12:18:12 pm
IT WORKED !

Thanks alot !
Title: Re: Table TextHeight for specific Cell
Post by: Master_Shake on January 11, 2017, 12:18:47 pm
Oh, sorry misread. Interpreted cell height, not text height.

Code - Auto/Visual Lisp: [Select]
  1. (vla-setCelltextHeight tbl row cell txtheight)
Title: Re: Table TextHeight for specific Cell
Post by: ronjonp on January 11, 2017, 12:29:45 pm
IT WORKED !

Thanks alot !
Glad to help :)