2007-03-12 11:53 AM
2007-03-30 01:59 AM
cejava1 wrote:Use the PARAGRAPH and RICHTEXT functions to get automatic word wrap.
With autotext <drawingscale> it works, but long string has to be divided to many rows of text.
2007-03-30 08:40 AM
!text width scale is working:
scnimip=1
!aligment full justification is not working:
alig = 4
!This line is representing a titleblock line, which is messing the word wrap.
Line2 0,0.05,0.3,0.05
!if piirnimi = "Piirustusten nimet" then
paragraph "AC_PRG_56" alig, 0, 0, 0, 1
"<DRAWINGNAME>"
endparagraph
textblock "AC_TEXTBLOCK_56" 60, 1, 0, scnimip, 1, 1,
"AC_PRG_56"
richtext2 0.09423, 0.05, "AC_TEXTBLOCK_56"
!endif
!pen ac_huomiopen
!if piirnimi = "Planssin nimi" then
! paragraph "AC_PRG_1" alig, 0, 0, 0, 1
! "<LAYOUTNAME>"
! endparagraph
! textblock "AC_TEXTBLOCK_1" 60, 1, 0, scnimip, 1, 1,
! "AC_PRG_1"
! richtext2 0.09423, 0.05, "AC_TEXTBLOCK_1"
!endif
!if piirnimi = "Alaryhmän nimi+Planssin nimi" then
! paragraph "AC_PRG_71" alig, 0, 0, 0, 1
! "<SUBSETNAME> <LAYOUTNAME>"
! endparagraph
! textblock "AC_TEXTBLOCK_71" 60, 1, 0, scnimip, 1, 1,
! "AC_PRG_71"
! richtext2 0.09423, 0.05, "AC_TEXTBLOCK_71"
!endif
!if piirnimi = "Muu nimi" then
! text2 0.09423, 0.0507, omanimi
!endif
!pen ac_textpen
2007-04-12 03:38 PM
2007-04-12 04:24 PM