I am saving labels data to word document but the document dont get good style on it the text is just under each other.
object missing = Missing.Value;
object start1 = 0;
var wordApp = new ApplicationClass();
Microsoft.Office.Interop.Word.Document myDoc = wordApp.Documents.Add(ref missing, ref missing,
ref missing, ref missing);
Range rng = myDoc.Range(ref start1, ref missing);
try
{
object filename = @"C:\test1." + DropDownListDownloadCv0.SelectedItem.Text;
myDoc.SaveAs(ref filename,
ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing,
ref missing,
ref missing, ref missing, ref missing);
rng.InsertAfter(LabelPosition.Text + " " + LabelFirstName.Text + " " + LabelLastName.Text);
rng.InsertAfter(lblbackground.Text);
is it possible to add style sheet or something to style the document because i want to use bold,float:left,float:Right Size on different labels and so an on my labels