Inline shape size ================= The position of an inline shape is completely determined by the text it is inline with, however its dimensions can be specified. For some shape types, both the contained shape and the shape container specify a width and height. In the case of a picture, the dimensions of the inline shape (container) determine the display size while the dimension of the pic element determine the "original size" of the image. Candidate protocol -- inline shape access ----------------------------------------- The following interactive session illustrates the protocol for accessing and changing the size of an inline shape:: >>> inline_shape = inline_shapes[0] >>> assert inline_shape.type == MSO_SHAPE_TYPE.PICTURE >>> inline_shape.width 914400 >>> inline_shape.height 457200 >>> inline_shape.width = 457200 >>> inline_shape.height = 228600 >>> inline_shape.width, inline_shape.height 457200, 228600 Resources --------- * `InlineShape Members (Word) on MSDN`_ * `Shape Members (Word) on MSDN`_ .. _InlineShape Members (Word) on MSDN: http://msdn.microsoft.com/en-us/library/office/ff840794.aspx .. _Shape Members (Word) on MSDN: http://msdn.microsoft.com/en-us/library/office/ff195191.aspx Specimen XML ------------ .. highlight:: xml This XML represents an inline shape inserted inline on a paragraph by itself::