screen_tip property

ShapeBase.screen_tip property

Defines the text displayed when the mouse pointer moves over the shape.

@property
def screen_tip(self) -> str:
    ...

@screen_tip.setter
def screen_tip(self, value: str):
    ...

Remarks

The default value is an empty string.

Examples

Shows how to insert a shape which contains an image, and is also a hyperlink.

doc = aw.Document()
builder = aw.DocumentBuilder(doc)
shape = builder.insert_image(IMAGE_DIR + 'Logo.jpg')
shape.href = 'https://forum.aspose.com/'
shape.target = 'New Window'
shape.screen_tip = 'Aspose.Words Support Forums'
# Ctrl + left-clicking the shape in Microsoft Word will open a new web browser window
# and take us to the hyperlink in the "href" property.
doc.save(ARTIFACTS_DIR + 'Image.insert_image_with_hyperlink.docx')

See Also