- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Mtext
I am trying to understand this Paragraph Line Spacing in order to add blocks as bullets to each row.
It says Line Spacing 1.000x. So the Line Spacing should be 1, 2, 3 and so on
Where does spacing start from? When i measure it says 0,66 between the lines.
MText with height 1 is inserted at 0,0 and it is adjusted Top Left.
I attach the file here.
What i want to do is to add blocks att same increment as Line Spacing.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Be aware of the difference between line spacing factor [a multiplier on the "native" distance -- that's what the x at the end is about] and line spacing distance [a raw number in drawing units]. You can specify either one for an Mtext object, and the other will be calculated appropriately. In either case, it's measured not between the nearer edges of lines of content [your 0.666], but from a place on one line to the same place on the next line, typically thought of as baseline to baseline, but you can picture it however you like. [I'll let you experiment with how that may vary if you have changes in text height within the Mtext -- is it still based on the overall-object line spacing and height, or is it related to the "local" height where a line break occurs?] Typically the line spacing distance at 1.0x spacing factor is 1-2/3 times the text height, though that may vary with the font. The factor value has a range limit -- it can be only between 0.25x and 4.0x.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@aghavamzadeh wrote:I am trying to understand this Paragraph Line Spacing in order to add blocks as bullets to each row.
It says Line Spacing 1.000x. So the Line Spacing should be 1, 2, 3 and so on
Where does spacing start from? When i measure it says 0,66 between the lines.
MText with height 1 is inserted at 0,0 and it is adjusted Top Left.
I attach the file here.
What I want to do is to add blocks at same increment as Line Spacing.
If it works for you, just place them at the same location as the default bullets.
See sample:
Please select the "Accept as Solution" button if my post solves your issue or answers your question.
Emilio Valentin
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Lower Case g,j,p,q & y as well as symbols and how you fractions are displayed in Mtext affect the height of each line as well so there's no magic coding solution.
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@TomBeauford wrote:
Lower Case g,j,p,q & y as well as symbols and how you fractions are displayed in Mtext affect the height of each line as well....
That variability happens only if the Mtext's Line Space Style is set to "At least." It can be eliminated by setting it to "Exactly" instead.
If you want to change it by AutoLisp (subst)/(entmod) methods, it's the DXF code 73 entry in an Mtext's entity data. From the DXF Reference:
Or in either (setpropertyvalue) or (vla-put-...) approaches, it's called LineSpacingStyle -- same number values as in DXF 73.