We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Are there functions like scaleheight and scalewidth for an inlineshape?

Hello,

I used word application in a visual studio solution, so to add an image i use an inlineshape, and i have a factor to scale height and width using scaleheight and scalewidth.

I use now aspose and i want to know if there is such as properties for a shape or how to achieve the same thing ?

Thank you

Hi Tarik,

Thanks for your inquiry. The Shape.GetShapeRenderer creates and returns an object that can be used to render this shape into an image. ShapeRenderer class provides methods to render an individual Shape or GroupShape to a raster or vector image or to a Graphics object.

Please use ShapeRenderer.RenderToScale method to render the shape into a Graphics object to a specified scale. Hope this helps you. Please let us know if you have any more queries.