title: The Method add(Element) is not applicable for the arguments (String[])
body: <p>I am trying to create a paragraph using array element to write it in the pdf file, if I add just one line for example <strong>paragraph.add("This is the content");</strong> its working fine;</p>
  
  <p>When I tried with an array it gives an error <img src="https://i.stack.imgur.com/eknOr.png" alt="snippet"></p>
  
  <p>Please give me directions to fix this, thanks.</p>
  
  <p>The code:</p>
  
  <pre><code>public void readStuff(){
  
  String[] arrayName = new String[7];
  
  try{
      PdfReader reader = new PdfReader(new FileInputStream("My First PDF Doc.pdf"));
  
      arrayName[0] = "PDF version: " + reader.getPdfVersion();
      arrayName[1] = "Number of pages " + reader.getNumberOfPages();
      arrayName[2] = "File length: " + reader.getFileLength();
      arrayName[3] = "Is it encrypted: " + reader.isEncrypted();
      arrayName[4] = "Width of the page 1: " + reader.getPageSize(1).getWidth();
      arrayName[5] = "Height of the page 1: " + reader.getPageSize(1).getHeight();
      arrayName[6] = "Rotation of page 1: " + reader.getPageRotation(1);
  
      for(int x = 0; x &lt; 7; x++){
          System.out.println(arrayName[x]);
      }
  
      Document document = new Document();
      PdfWriter.getInstance(document, new FileOutputStream("My First PDF Doc.pdf"));
      document.open();
  
      Paragraph paragraph = new Paragraph();
      paragraph.add(arrayName);
      document.add(paragraph);
      document.close();
  
  
  } catch(Exception e){
      e.printStackTrace();
  }
  };
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>The Method add(Element) in the type Paragraph is not applicable for the arguments (String[])
  </code></pre>