This message was posted using Aspose.Live 2 Forum
Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for considering Aspose.
We have found your mentioned issue regarding displaying Icon of Ole Object after an initial test. We will look into it and get back to you soon. You issue has been registered in our internal issue tracking system with issue id: CELLSNET-16756.
You can specify the location of the ole object while adding it by specifying the upper left row and upper left column. Please see the following method details:
public int Add(
int upperLeftRow,
int upperLeftColumn,
int height,
int width,
byte[] imageData
);
Parameters
upperLeftRow
Upper left row index.
upperLeftColumn
Upper left column index.
height
Height of oleObject, in unit of pixel.
width
Width of oleObject, in unit of pixel.
imageData
Image of ole object as byte array.
Thank You & Best Regards,
Hi,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
To further update you, I am afraid, we cannot support the automatic generation of the ole object icon when DisplayAsIcon is true. Please create an image according to the attached project, and then use the generated image data as the ole object’s image data.
Thank You & Best Regards,
Thank you for the fast reply.
I'll try implementing this solution.
Best Regards
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />