HelpBot Assistant

How can I help you?

VisioMarginModel

6 Feb 20261 minute to read

Represents margin properties for Visio shapes.
Defines spacing on all four sides (left, right, top, bottom).

Properties

bottom number

Margin on the bottom side

left number

Margin on the left side

Margin on the right side

top number

Margin on the top side

Methods

fromJs

Creates a VisioMarginModel instance from a Visio shape object.
Extracts margin values from the shape’s Cell elements.

Parameter Type Description
shape any The Visio shape object containing Cell elements with margin data

Returns VisioMarginModel