how can i add a blank line between two segments
adding line between segments while creating new PDF document.
we are using dll version 3.7.0.5
Using http://www.aspose.com/docs/display/pdfnet/Replaceable+Symbols
one of these symbol is for forcing to write content in a new line
while I need to add a Blank line between two segments
there is not symbol to write/ give a blank line in PDF
Hi there,
Thanks for your inquiry. You may use new line symbol twice to add a blank line between two segment. Please check following code sample for the purpose.
…<o:p></o:p>
....
Aspose.Pdf.Generator.Text
text = new Aspose.Pdf.Generator.Text(sec);
Aspose.Pdf.Generator.Segment
seg1 = new Aspose.Pdf.Generator.Segment(text);
seg1.Content = "segment
1 #$NL #$NL";
text.Segments.Add(seg1);
Aspose.Pdf.Generator.Segment
seg2 = new Aspose.Pdf.Generator.Segment(text);
seg2.Content = "paragraph
1 segment 2";
text.Segments.Add(seg2);
....
....
Please feel free to contact us for any further assistance.
Best Regards,