Are Images and Drawing Objects Feature Available Today (31st of October)

I am using the Aspose Words for Java. And I have to draw something and include images in my Word document. I was told that those features would be available on the last day of October, 2006. And I have been waiting. Today is the 31st of October. Oh Oh, I am dying for them.

Hi,
We are performing code polishing and it is almost ready… It will be out in 1-2 days.

Thanks for the message. While waiting for the drawing feature, would anybody kindly show me how to code to:

  1. draw a circle and fill the circle with a color with a big Y or N in the center of the circle?
  2. draw arrows (a both right pointing and left pointing arrow, or a downwardly pointing arrow) with the thinkness almost like block arrows?

Thanks a lot for help. The help that I have received on this forum is so far very good.

I can provide a sample snippet to show you the idea. The code is in C#, I hope my colleague Konstantin who is a Java developer will convert it to Java shortly. The snippet creates and inserts two shapes into a document one of which is a filled circle and another one is a filled arrow. If you have any further questions regarding the code, please let me know.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
Shape circleShape = new Shape(doc, ShapeType.Ellipse);
circleShape.Left = 100;
circleShape.Top = 100;
circleShape.FillColor = Color.DarkMagenta;
circleShape.Width = 100;
circleShape.Height = 100;
builder.InsertNode(circleShape);
Shape arrowShape = new Shape(doc, ShapeType.Arrow);
arrowShape.Left = 100;
arrowShape.Top = 200;
arrowShape.Width = 200;
arrowShape.Height = 100;
arrowShape.FillColor = Color.Lime;
builder.InsertNode(arrowShape);
doc.Save("MyDocument.doc");

Thanks for giving me the idea.
Is it possible to write a big letter ‘Y’ in the Ellipse?
Can we draw “a” bi-directional pointing one in arrow shape?
Well, I think it is too early to get into those details without the ability to test them out.

By means of the rich Aspose.Words 4.0 functionality it’s pretty easy Here’s the improved sample that seems to produce the result you want:

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
Shape circleShape = new Shape(doc, ShapeType.Ellipse);
circleShape.Left = 100;
circleShape.Top = 100;
circleShape.FillColor = Color.Red;
circleShape.Width = 100;
circleShape.Height = 100;
builder.InsertNode(circleShape);
Shape yLetter = new Shape(doc, ShapeType.TextPlainText);
yLetter.TextPath.Text = "Y";
yLetter.Left = 100 + 20;
yLetter.Top = 100 + 20;
yLetter.Width = 60;
yLetter.Height = 60;
yLetter.FillColor = Color.White;
builder.InsertNode(yLetter);
Shape arrowShape = new Shape(doc, ShapeType.UpDownArrow);
arrowShape.Left = 100;
arrowShape.Top = 200;
arrowShape.Width = 50;
arrowShape.Height = 100;
arrowShape.FillColor = Color.Lime;
builder.InsertNode(arrowShape);
doc.Save("MyDocument.doc");

Wow! They look really nice. Exactly like what I expect to have.
I cannot wait till the drawing feature becomes available!

Aspose.Words for Java 2.0.0 released!
https://blog.aspose.com/2006/11/03/60502