Forum Discussion
philipfvbell
Apr 07, 2025Copper Contributor
PowerPoint JS API: Can't Create Lines with Negative Slope Using addLine
We are encountering a technical issue with the PowerPoint JavaScript API when attempting to create lines with negative slope (lines that go upward from left to right). Despite various approaches, we ...
JettStone
Aug 15, 2025Iron Contributor
The addLine method of the PowerPoint JS API requires manual calculation of negative slope coordinates, as the parameter only accepts absolute values.