Hi,
I need the to how to have alignment for the below
"April 21 2005 Give your Feedback"
In One line how to print the line as show above.
Thanks & Regards
DowJones Team
Hi,
I need the to how to have alignment for the below
"April 21 2005 Give your Feedback"
In One line how to print the line as show above.
Thanks & Regards
DowJones Team
The trick is to use table with invisible borders:
builder.RowFormat.AllowAutoFit = true;
builder.StartTable();
builder.InsertCell();
builder.Write("April 21 2005");
builder.CellFormat.Width = WordConvert.PixelToPoint(500);
builder.CurrentParagraph.ParagraphFormat.Alignment = ParagraphAlignment.Left;
builder.InsertCell("Give your ");
// Specify font formatting for the hyperlink.
builder.Font.Color = System.Drawing.Color.Blue;
builder.Font.Underline = Underline.Single;
// Insert the hyperlink.
builder.InsertHyperlink("Feedback", "www.yoururlgoeshere.com", false);
// Clear hyperlink formatting.
builder.Font.ClearFormatting();
builder.CellFormat.Width = WordConvert.PixelToPoint(1000);
builder.CurrentParagraph.ParagraphFormat.Alignment = ParagraphAlignment.Right;
builder.EndRow();
builder.EndTable();