auto_size property

auto_size property

Indicates if size of comment is adjusted automatically according to its content. Note: In some special cases (such as Mac environment), this setting may not take effect. If this setting does not take effect, please replace it with FitToTextSize().

Example


if notcomment1.auto_size:
    # The size of the comment varies with the content
    comment1.auto_size = True

Definition:

@property
def auto_size(self):
    ...
@auto_size.setter
def auto_size(self, value):
    ...

See Also