title: How to write a text inside a rectangle in excel using Microsoft.Office.Interop.Excel in c#
body: <p>Here is the sample code..</p>
  
  <pre><code>using Excel = Microsoft.Office.Interop.Excel;
  
  Excel.Application xlApp;
  Excel.Workbook xlWorkBook;
  Excel.Worksheet xlWorkSheet;
  
  
  //Rectangle shape
  xlWorkSheet.Shapes.AddShape(MsoAutoShapeType.msoShapeRectangle, 47, 280, 140, 90);
  
  //using this below code i can write the text but the text is showing with special effects.
  xlWorkSheet.Shapes.AddTextEffect(MsoPresetTextEffect.msoTextEffect1, "simple text", "Arial", 14, MsoTriState.msoTrue, MsoTriState.msoFalse, 67, 320);
  </code></pre>
  
  <p>I need plain text with bold effect and size(16) ...
  i am using Visual studio 2008</p>