.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How change text width in table cell using autocad .net api C#?

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
1854656984
3732 Views, 4 Replies

How change text width in table cell using autocad .net api C#?

I create Table using Autocad .net api C#.


var table = new Table();

In single text(class DBText), change text width of the property - WidthFactor.

How change text width in table cell using autocad .net api C#?

1010.jpg


4 REPLIES 4
Message 2 of 5
hgasty1001
in reply to: 1854656984

Hi,

 

Table.Cells(i,j).TextStyleId=Id_Of_The_TextStyle_With_Needed_WidthFactor should work.

 

Gaston Nunez

Message 3 of 5

Use Formatting in the contents like Mtext.

 

"{\W0.5;Text Width = 0.5}"

Dave O.                                                                  Sig-Logos32.png
Message 4 of 5
1854656984
in reply to: 1854656984

Thanks!!! it works perfectly!!!!

Message 5 of 5
kdub_nz
in reply to: 1854656984


@1854656984 wrote:

Thanks!!! it works perfectly!!!!


 

 

Since you answered your own post ... which solution worked for you ??

 

 

//

Everything will work just as you expect it to, unless your expectations are incorrect.

class keyThumper<T> : Lazy<T>;      another  Swamper

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost