@property
    def autofit(self):
        if self.noAutofit is not None:
            return MSO_AUTO_SIZE.NONE
        if self.normAutofit is not None:
            return MSO_AUTO_SIZE.TEXT_TO_FIT_SHAPE
        if self.spAutoFit is not None:
            return MSO_AUTO_SIZE.SHAPE_TO_FIT_TEXT
        return None
The autofit setting for the text frame, a member of the
dataset/ETHPy150Open scanny/python-pptx/pptx/oxml/text.py/CT_TextBodyProperties.autofit