Accessing VBA objects in a Word Document


#1

Is it possible to modify VBA objects in a word document using
Aspose.Word? I am inserting an Image object from the VB Toolbar
and I am trying to access the object and make some modifications to
some of its properties, mainly the image itself, but possibly the
Height and Width properties as well.



I noticed that from the Aspose.NodeCollection it appears to be exposed
as an InlineShape, but that does not provide me access to any of the
objects properties.



Thanks,



John


#2

Hi John,

Aspose.Word is a .NET component that exposes its own object model so the only access to Word objects it provides is use of Aspose.Word objects (nodes). We are going to improve the Shape and InlineShape properties in the future - by the way, we recently made their Height and Width properties settable.