title: How to place label next to a checkbox control in Interop Word
body: <p>How do you place 2 items side by side, for instance a checkbox and a label without creating new line in Interop Word?</p>
  
  <p>This is the code I am using. It's making a new line because I put each item in a paragraph. How do you make it in one line?</p>
  
  <pre><code> //CheckBox
   Word.Paragraph checkBoxparagraph = document.Paragraphs.Add(ref missing);
   Word.ContentControl checkbox = checkBoxparagraph.Range.ContentControls.Add(Word.WdContentControlType.wdContentControlCheckBox);
   checkBoxparagraph.Range.InsertParagraphBefore();
  
  //Label
  Word.Paragraph label = document.Paragraphs.Add(ref missing);
  label.Range.Text = "Checkbox Label";
  label.Range.InsertParagraphAfter();
  </code></pre>
  
  <p>This is the output of the code:</p>
  
  <p><a href="https://i.stack.imgur.com/rP70q.png" rel="nofollow"><img src="https://i.stack.imgur.com/rP70q.png" alt="enter image description here"></a></p>