Default Table Formatting

Default Table Formatting

a81383
Enthusiast Enthusiast
363 Views
2 Replies
Message 1 of 3

Default Table Formatting

a81383
Enthusiast
Enthusiast

Hello,

How do I change set the "Use Default Formatting" setting when creating my custom table shown below?

 

Thank you!

	Dim oCustomTable As CustomTable
	oCustomTable = oSheet.CustomTables.Add("SPEC", oPlacementPoint1, 2, cnt, oTitles, oContents, oColumnWidths)
	oCustomTable.HeadingPlacement = HeadingPlacementEnum.kHeadingAtBottom
	oCustomTable.ShowTitle = True

a81383_0-1711131798905.png

 

0 Likes
Accepted solutions (1)
364 Views
2 Replies
Replies (2)
Message 2 of 3

WCrihfield
Mentor
Mentor
Accepted solution

I do not believe we have access to that setting through the Inventor API yet.  We can set TextStyle to various portions of the table, we can set the TableStyle, and even TableFormat, but none of them include that setting.  And the Colums & Column objects do not offer anything like that either.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 3

a81383
Enthusiast
Enthusiast

Got it. I figured that was probably the case. I really appreciate your response. I will look into creating a new table style and swapping between the two.

 

Thank you!

0 Likes