'The type of this inline shape as a member of
``docx.enum.shape.WD_INLINE_SHAPE``, e.g. ``LINKED_PICTURE``.
Read-only.'

@property
def type(self):

    graphicData = self._inline.graphic.graphicData
    uri = graphicData.uri
    if (uri == nsmap[u'pic']):
        blip = graphicData.pic.blipFill.blip
        if (blip.link is not None):
            return WD_INLINE_SHAPE.LINKED_PICTURE
        return WD_INLINE_SHAPE.PICTURE
    if (uri == nsmap[u'c']):
        return WD_INLINE_SHAPE.CHART
    if (uri == nsmap[u'dgm']):
        return WD_INLINE_SHAPE.SMART_ART
    return WD_INLINE_SHAPE.NOT_IMPLEMENTED
