Y
YOUNGHEE
This source don't work correctly.
I Don't know what problem is.
long numOfShape;
char *name;
app.Documents(docs);
docs.Item(VVariant(1L), doc);
doc.Pages(pages);
pages.Item(VVariant(1L), page);
page.Shapes(shapes);
shapes.Count(&numOfShape);
for(i=1; i<numOfShape; i++)
{
name = NULL;
shapes.Item(VVariant(i), shape);
shape.getName(VBstr(name));
AfxMessageBox(name);
SysFreeString(bstr);
}
I Don't know what problem is.
long numOfShape;
char *name;
app.Documents(docs);
docs.Item(VVariant(1L), doc);
doc.Pages(pages);
pages.Item(VVariant(1L), page);
page.Shapes(shapes);
shapes.Count(&numOfShape);
for(i=1; i<numOfShape; i++)
{
name = NULL;
shapes.Item(VVariant(i), shape);
shape.getName(VBstr(name));
AfxMessageBox(name);
SysFreeString(bstr);
}