Aspose::Words::Drawing::ImageData::FitImageToShape method. Fits the image data to Shape frame so that the aspect ratio of the image data matches the aspect ratio of Shape frame in C++.... auto doc = System :: MakeObject < Aspose...Words :: DocumentBuilder > ( doc ); // Insert an image shape and...