title: Copy to ClipBoard and paste Clipboard data to whatsapp message Textbox
body: <p>I am trying to paste text, image and pdf documents to clipboard first and then to whatsapp textbox control.</p>
  
  <p><a href="https://i.stack.imgur.com/JXfS7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JXfS7.png" alt="enter image description here"></a></p>
  
  <p>1) For Text.</p>
  
  <pre><code>Clipboard.SetText(message); 
  
  Ctrl + v pastes the text into the whatsapp textbox.
  </code></pre>
  
  <p>2) For Image</p>
  
  <p>var imagePath = "E:\Downloads_SSD\goodmorning.jpg";</p>
  
  <p>Clipboard.SetImage(Image.FromFile(@imagePath ));</p>
  
  <pre><code>Ctrl + v pastes the Image into whatsapp.
  </code></pre>
  
  <p>3) For Documents.</p>
  
  <pre><code>StringCollection paths = new StringCollection();
  
  paths.Add(@"E:\Downloads_SSD\Hatred-in-the-belly_-Politics-behind-the-appropriation-of-Dr-Ambedkars-writings.pdf");
  
  Clipboard.SetFileDropList(paths);
  </code></pre>
  
  <p>Ctrl + v works when copying into a folder, but does not work for copying into whatsapp message textbox.</p>
  
  <p>How do I make it to work in case of pdf documents.</p>