Help in Height attribute.

Discussion in 'Tally Developer' started by Sohail Khan, Jan 12, 2021.

    
  1. Sohail Khan

    Sohail Khan Member


    Dear Experts,
    Kindly help me in utilising the marked space in the attached Pdf. I have set the height to 45 to get my desired font size but the next line is getting space on top because of that. Please Help.


    Code:
    [Line:CompanyInfo]
    Field:CompanyInfo
    Space Top: 0.5
    
    [Line:CompanySubinfo]
    Field:CompanySubinfo
    Border: Thick Bottom
    
    
    [Line:CompanyAddress]
    Field:CompanyAddress
    
    [Line:CompanyGstin]
    Field:CompanyGstin
    Border:Thick Bottom
      
    [Field:CompanyInfo]
        Use:nameField
        Set as: If NOT ($$IsSysNameEqual:Primary:##SVAddressToPrint OR $$IsEmpty:##SVAddressToPrint) Then $(Company, ##SVCurrentCompany).MultiAddressList[1, @@IsSameCmpAddrType].MailingName Else @@CmpMailName
        Style:CompStyleBIG
        Align:Center
        Full Width: YES
        Width:90
      
    
    [Field:CompanySubinfo]
        Use:nameField
        Set as: "Traders in All Kinds of: T.M.T.Bars, M.S.Round Bars & M.S.Wire"
        Full Width: YES
        Align:Center
        Style:CompSubinfoStyleNormal
        Width:90
    [Field:CompanyAddress]
        Use:nameField
        Set as: "Regd. Add : " + $$FullList:ForCompanyAddress:$Address
        Full Width: YES
        Align:Center
        Width:90
    [Field:CompanyGstin]
        Use:nameField
        Set as: "GSTIN: " + @@VATCMPGSTNumber
        Full Width: YES
        Align:Center
        Width:90
    [Collection: ForCompanyAddress]
      
        Type        : Address   : Company
        Child of    : ##SVCurrentCompany
    
      
        [Style    : CompStyleBIG]
        Font        :    "Times New Roman"
        Height        : 45
        Bold        :    yes
        Italic        :    Yes
      
        [Style    : CompSubinfoStyleNormal]
        Font        :    "Arial"
        Height        :    12.5
        Bold        :    yes
     

    Attached Files:



  2. Sohail Khan

    Sohail Khan Member


    Used the height att at line def and got result.
    Please dont mind my posting as I am noob and it takes long time to figure out even small problem.
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    We all are NOOBS at some point......... as for me...am still a noob.

    What matters is perseverance, patience and willingness to learn.
     
    Jaydeep Shah and Sohail Khan like this.


Share This Page