Word.LineFormat lost 8 documented properties in Office.js 16.0.20619
Office.js 16.0.20619.15190 finished rolling out on 30 October. On every Word platform it removed eight properties from Word.LineFormat , the object behind the outline of shapes and text boxes: Removed from Word.LineFormat Still there backgroundColor dashStyle pattern foregroundColor beginArrowheadLength , beginArrowheadStyle , beginArrowheadWidth weight , style , transparency endArrowheadLength ,…
Office.js version 16.0.20619.15190 was fully rolled out on October 30th. During this update, eight properties were removed from Word.LineFormat, the object responsible for the appearance of shapes and text boxes. These properties include backgroundColor, dashStyle, pattern, foregroundColor, beginArrowheadLength, beginArrowheadStyle, beginArrowheadWidth, weight, style, and transparency.
Additionally, endArrowheadLength, endArrowheadStyle, endArrowheadWidth, isVisible, insetPen, set(), and toJSON() were also removed. These properties are part of the WordApiDesktop 1.3 requirement set, which is considered production for Word on both Windows and Mac. The removal of these properties affects add-ins running in desktop Word, not just iOS or web versions.
The change was confirmed through API diff analysis and comparison of the updated and archived files. It is advised to check for the presence of these properties before use in your add-ins to ensure proper functionality.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.