Free Support Forum - aspose.com

Aspose Slides-Aspose PDF-Aspose PDf Kit up gradation-

Hi,

We are using the following three products of you with Version 2.0.

Aspose Slides,

Aspose PDF,

Aspose PDf Kit

Can you please let me know the following informations.

1.What is the latest released version of the above products

2.If so what is the advanced features of the new versions with old versions

3.Is there any known issues in latest version.

Please mail to me if possible to kavipriya.m@tcs.com

Thanks,

Priya

Dear Priya,

1-

The latest version of Aspose.Slides for .NET 3.0.1.15296 can be downloaded from this link

http://www.aspose.com/community/forums/174079/postattachment.aspx

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

2&3-

Please read

http://www.aspose.com/community/files/51/file-format-components/aspose.slides-for-.net-and-java/entry170856.aspx

For other products, please post on their respective forums.

Aspose.Pdf for .NET, Java and Reporting Services - Forums


This message was posted using Email2Forum by msfaiz.

Hi,

As per ur above comment i have downloaded .net 3.0.1.15926 and used.

I got the following errors in my existing properties. can you tell me is there any properties used instead of that or what changes i have to make?

1.Aspose.Slides.paragraph

Existing :

//By default creates a bullet

//Remove bullet by setting to 0 and its short datatype.

paragraph.HasBullet = 0;

Error :

Now i got the error in this place and telling that this is Bool data type.

Can You please tell me if i set as false then can i remove the bullet by default.

2.What is the new class has introduced instead of Aspose.Slides.LineFormat ?. Actually we accessed through like following.

Cell.BorderLeft.LineFormat

But its throwing error that we cant access this one ?

Thanks,

Priya

Hi,

while i downloaded the latest version i got the Dll with one XML file.

What is that XML represents actually ? should i use that any where to make use of that DLL in better way ?

Thanks,

Priya

Dear Priya,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

XML is not necessary, it is used by Visual Studio Intellisense to give you clue what are the parameters and what are their types etc.

Please set the paragraph false

paragraph.HasBullet=false;

Now you need to set borders them differently. For code example, please see the post below

http://www.aspose.com/community/forums/permalink/98821/99254/showthread.aspx#99254

Hi,

I need the installer for your Latest version Aspose slides since we are getting attached screen shot issues while i just replaced the new dll and use the renewed subscription license key.

Note : I juse given an example for Picture object. But i am not able to see any memeber for ant slides object.

Thanks,

Priya

The Nielsen Company

Use the latest version of Aspose.Slides for .NET 3.1.0. I can see the correct objects inside it.

Hi ,

Which Dll ,should i use ?

Thanks,

Priya

Dear Priya,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.Slides.

If your .NET framework is greater than 1.1 then use the Aspose.Slides.dll otherwise use Aspose.Slides.1.1.dll

Also, when you take a screenshot, don’t forget to save it in .jpg or jpeg. It will create the smaller size images which will download faster and viewed quickly.

FYI: You can now download the latest version of Aspose.Slides for .NET 3.1.1.1

Hi,

Is this released verison Aspose.Slides for .NET 3.1.1.1 ?

Hi,

As per your comment , we gone through ur link and came with the solution. But we feel it may be resulted some performance issues.

private void GetCellEnum(CellBorder cellBorder, BorderSide borderSide)

{

IEnumerator myenum = cellBorder.GetEnumerator();

//Iterate enumerator and convert each current item into the

//Aspose.Slides.Line object

//And then change the forecolor and width property

while (myenum.MoveNext())

{

Line ln = myenum.Current as Line;

}

}

as per our understanding,

1.u r accessing all cellBorder objects through GetEnumerator().

2. Our doubt is, myenum.Current is having always Line object as a count of 1. then why u r while loop to move next of the myenum.

Is it possible to cellBorder have more than one Line object or any other object in myenum.

Instead of the above provided code, can we use as following piece of code.

private void GetCellEnum(CellBorder cellBorder, BorderSide borderSide)

{

IEnumerator myenum = cellBorder.GetEnumerator();

Line ln = myenum.Current as Line;

}

Thanks,

Priya

Hi Priya,

The purpose of cellBorder.GetEnumerator() is to loop through border of all the cells that have been merged. If two cells have been merged as one, there will be two Line objects cellBorder.GetEnumerator() collection. The following example illustrates it:

Presentation pres = new Presentation();

Slide sld = pres.GetSlideByPosition(1);

Aspose.Slides.Table tbl = sld.Shapes.AddTable(500, 500, 1000, 2000, 3, 2);

tbl.SetBorders(3, Color.Red);

tbl.MergeCells(tbl.GetCell(0, 0), tbl.GetCell(1, 0));

Aspose.Slides.Cell myCell = tbl.GetCell(0, 0);

IEnumerator Brdr = myCell.BorderBottom.GetEnumerator();

while(Brdr.MoveNext())

{

Aspose.Slides.Line ln = (Aspose.Slides.Line)Brdr.Current;

ln.LineFormat.DashStyle = LineDashStyle.DashDot;

ln.LineFormat.ForeColor = Color.Blue;

}

pres.Write("tbl.ppt");