code: 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
docs: The autofit setting for the text frame, a member of the
          ``MSO_AUTO_SIZE`` enumeration.