HelpBot Assistant

How can I help you?

VisioTextDecorationModel

6 Feb 20261 minute to read

Represents text decoration properties for Visio text elements.
Handles underline and strikethrough styling.

Properties

strikethrough boolean

Flag indicating if text has strikethrough

underline boolean

Flag indicating if text is underlined

Methods

fromJs

Creates a VisioTextDecorationModel instance from a Visio shape object.
Extracts text decoration properties from shape cells using bitwise operations on the Style cell.

Parameter Type Description
shape any The Visio shape object containing Section elements with decoration data

Returns VisioTextDecorationModel