c# . net how do I reference to modify the line spacing of text within blocks attributes

c# . net how do I reference to modify the line spacing of text within blocks attributes

jeff.wangD95HG
Collaborator Collaborator
331 Views
3 Replies
Message 1 of 4

c# . net how do I reference to modify the line spacing of text within blocks attributes

jeff.wangD95HG
Collaborator
Collaborator

I am trying to build a function that will update the attibute of a dynamic block with multiple lines. however I also want to adjust the line spacing within the dynamic block. How do I go about referencing this function?

 

basically modifying this within the dynamic block

jeffwangD95HG_0-1740182515847.png

 

0 Likes
332 Views
3 Replies
Replies (3)
Message 2 of 4

paullimapa
Mentor
Mentor

your title shows you want C# .net function...that forum is over here:
https://forums.autodesk.com/t5/net/bd-p/152


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 4

ActivistInvestor
Mentor
Mentor

See these properties of the MText class:

 

   LineSpacingStyle

   LineSpacingFactor

   LineSpaceDistance

0 Likes
Message 4 of 4

jeff.wangD95HG
Collaborator
Collaborator

thanks I reposted it there. 

@ActivistInvestor 

I think I tried those already and they don't work. I think the text inside belongs to multiline text instead of Mtext. Although I can't be sure of that

0 Likes