why image is not displayed in columns based pdfmake docu

why image is not displayed in columns based pdfmake docu

chrizzy14chrizzy14 Posts: 9Questions: 3Answers: 0

this is my code:

//header

                doc.content.splice( 0, 0, {
                margin: [0, 0, 0, 12],
                alignment: 'center',
            columns : [
         {
          width: '*',
        image: 'data:image/png;base64,...to long to put',
          text: 'image is not displayed',         
        },           
        {
        text: [
        { text: 'Republic of the Phillippines\n', fontSize: 15 },
        { text: 'NAVAL STATE UNIVERSITY\n', fontSize: 20, bold: true },
        { text: 'Naval, Biliran Province\n', fontSize: 15},
        { text: 'Telefax No. 053-500-9045\n', fontSize: 15},
        { text: 'Per DBM-CHED Joint Circular # 1-B dated June 21, 2007\n\n', italics: true, fontSize: 10},
      ]  

              },
                    {

                width: '*',
        text: [
        { text: 'Just some text on the right column\n', fontSize: 15 },
        { text: 'Just some text on the right column\n', fontSize: 20, bold: true },
        { text: 'Just some text on the right column\n', fontSize: 15},
        { text: 'Just some text on the right column\n', fontSize: 15},
        { text: 'Just some text on the right column\n\n', italics: true, fontSize: 10},
      ]  

              },

            ] 
              } ); 

//end of header

Answers

  • chrizzy14chrizzy14 Posts: 9Questions: 3Answers: 0

    please look at the image result that i uploaded the result of the code is what it look like . Thanks really need your help. This is for my final thesis study :(

  • chrizzy14chrizzy14 Posts: 9Questions: 3Answers: 0

    why why why its not working ??????????? haixt........... so fckng pissed right now. so simple cannot be solved. huhuhuhu .T.T

This discussion has been closed.