Free Support Forum - aspose.com

TextOffset- BulletOffset- PictureBullet

Hi,

When I use TextOffset/BulletOffset with a picturebullet it appears to work when the file is generated, but when I save the powerpoint file, close it, and open it again the TextOffset and BulletOffset appear reset (Powerpoint 2003).

Here is how I'm using it:

for( int i = 1; i < rcs.Length + 1; i++ )
{
para = new Paragraph();
para.Text = rcs[i - 1].Replace( "\n", "" ).Replace( "\r", "" );
para.HasBullet = 1;
para.PictureBulletId = picRiskUnknownAccommUnknownBullet;

rect.TextFrame.Paragraphs.Insert( i, para );
rect.TextFrame.Paragraphs[i].Portions[0].FontHeight = 14;
rect.TextFrame.Paragraphs[i].BulletHeight = 165;
rect.TextFrame.Paragraphs[i].BulletOffset = 20;
rect.TextFrame.Paragraphs[i].TextOffset = 1000;
}
rect.TextFrame.AnchorText = AnchorText.Top;
rect.TextFrame.WrapText = true;
rect.TextFrame.FitTextToShape();

Any help would be appreciated.