Bullet point added to items in a table

Hi - Slides add a bullet point for each number added in a table.

Dear dspdev,

Thanks for considering Aspose.Slides.

Please provide us your code and output presentation. You can attach it in this forum by clicking on Reply button.

for(int row = 0; row < aTable.RowsNumber;row++){

for(int col=0; col < aTable.ColumnsNumber; col++){

string [] xyList = aTable.GetCell(col,row).TextFrame.Text.Split(',');

if (xyList.GetLength(0) == 2){

int dBRow = int.Parse(xyList[0]);

int dBCol = int.Parse(xyList[1]);

switch(data.Columns[dBCol].DataType.ToString()){

case "System.Double":

AsposeSlides.TextFrame aTextFrame = aTable.GetCell(col,row).TextFrame;

aTextFrame.Text = Double.Parse(data.Rows[dBRow][dBCol].ToString()).ToString("#,#0.#;(#,#0.#);#.#");

aTextFrame.Paragraphs[0].Alignment = TextAlignment.Right;

break;

default: aTable.GetCell(col,row).TextFrame.Text = data.Rows[dBRow][dBCol].ToString();

break;

}

}

}

}

Dear dspdev,

Please assign text in this way, do not use TextFrame.Text property directly.

aTextFrame.Paragraphs[0].Portions[0].Text = "some text";

Dear dspdev,

Actually, that is correct “by design” behavior. When text assigned to TextFrame.Text property all formatting reset to default values defined on master slide. On most masters bullets are visible by default. So that is correct.