OfficeDev / OfficeDev/office-js-docs-reference
Loading Text Length
Open
Nobody has claimed this yet.
Area: PowerPoint
Needs: attention :wave:
Type: product question
- Dominant language
- TypeScript
- Stars
- 153
- Forks
- 72
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 22
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.