When i try to create a new Bulleted Paragraph - in the newly created Slide = it does not indent the bulleted points - ????
Find the attached Files.zip that contains the PPT with a single generated Slide.
Also find the BulletCode.txt in the Files.zip- that contains the small code snippet i use to generate the Bulleted Points -
Please advice. Thanks.
Dear Devaraj,
You need to set Paragraph.TextOffset property to place some spaces between bullet and its text. Also you can use Paragraph.BulletOffset to place it at the specific offset.
Here is a code example
Presentation srcPres = new Presentation();
Slide sld = srcPres.GetSlideByPosition(1);
Aspose.Slides.Rectangle rect = sld.Shapes.AddRectangle(500, 500, 3000, 1);
rect.LineFormat.ShowLines = false;
rect.AddTextFrame("This is text");
TextFrame tf=rect.TextFrame;
tf.FitShapeToText = true;
Paragraph para = tf.Paragraphs[0];
para.HasBullet = 1;
para.BulletOffset = 0;
para.TextOffset = 200;
srcPres.Write(@"c:\out.ppt");