Hello,
We have one specific document that we are trying to edit with Spire.Doc .NET but running into an issue. We can load it into a Document object successfully using LoadFromStream, but then the first time we call doc.GetText(), following occurs:
System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection.
at System.ThrowHelper.ThrowArgumentOutOfRange_IndexException()
at Spire.Doc.Collections.ParagraphItemCollection.get_Item(Int32 index)
at sprᶻ.ᜀ(ParagraphItemCollection A_0)
at sprᶻ.ᜀ(IBody A_0)
at sprᶻ.ᜀ(ITable A_0)
at sprᶻ.ᜀ(IBody A_0)
at sprᶻ.ᜀ(ITable A_0)
at sprᶻ.ᜀ(IBody A_0)
at sprᶻ.ᜀ()
at sprᶻ.ᜀ(Document A_0)
at Spire.Doc.Document.GetText()
How can we troubleshoot what is happening?
Thanks!