We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Adding a graph to a segment object

Hi,

I am trying to find example of adding a graph to a segment object but couldn’t find anything so far

http://www.aspose.com/docs/display/pdfnet/What+is+Text

http://prntscr.com/5phzs5

Hi Muhammad,


Thanks for your inquiry. Please check following code snippet to add graph to segment object. Hopefully it will help you to accomplish the task.

…<o:p></o:p>

…<o:p></o:p>

Text text = new Text();<o:p></o:p>

Segment seg = new Segment();<o:p></o:p>

seg.InlineParagraph = graph;<o:p></o:p>

text.Segments.Add(seg);<o:p></o:p>

sec.Paragraphs.Add(text);<o:p></o:p>

…<o:p></o:p>

…<o:p></o:p>


Please feel free to contact us for any further assistance.


Best Regards,