add_comment method

add_comment(shape_id, comment)

Adds comment to a shape with shape’s id.

def add_comment(self, shape_id, comment):
    ...
ParameterTypeDescription
shape_idint
commentstrComment’s string.

add_comment(shape, comment)

Adds comment to a shape.

def add_comment(self, shape, comment):
    ...
ParameterTypeDescription
shapeShapeSpecifies the shape which is adding comment .
commentstrComment’s string.

add_comment(pin_x, pin_y, comment)

Adds comment with defined PinX and PinY.

def add_comment(self, pin_x, pin_y, comment):
    ...
ParameterTypeDescription
pin_xfloatSpecifies the x-coordinate of the comment’s pin (center of rotation) in relation to the page.
pin_yfloatSpecifies the y-coordinate of the comment’s pin (center of rotation) in relation to the page.
commentstrComment’s string.

See Also