I am using aspose.Word for creating a document that contains autoShape of type rectangle.
I am using the Shape class for that. I noticed that if I make those shapes inline they have a gap of couple of pixels between them, which don’t exist when those shapes are in floating mode. You can notice those gap, when viewing the created document in web view.
Do you have an idea how I get rid of those gaps? I need to have those shapes in inline mode.
No, it is not possible in MS Word to place the inline shapes without gaps. If you want to place them side by side you can use the table instead. Or if you still need it to be autoshapes then you can use the approach described in the recent entry of Aspose.Words blog:
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.