Loading Text Length #1944
Labels
Area: PowerPoint
Feedback on PowerPoint content
Needs: attention 👋
Waiting on Microsoft to provide feedback
Type: product question
Question about the Office Add-ins platform or Office JavaScript APIs
It seems that whilst the documentation suggests that the text length is a TextRange property I was only able to load it from the text class. So that:
Loading shape.textFrame.load('textRange/length'); - returns -1 (undefined)
Loading shape.textFrame.load('textRange/text/length'); - returns the correct value.
The text was updated successfully, but these errors were encountered: