Pretty simple:
I have an XPSDocument that I am removing from disk. I would like to get FixedDocuments from this XpsDocument, but I hit a bit of trimmer, since I can only get FixedDocumentSequence, and I can't figure out how to get XpsDocuments out of this sequence.
So far I have tried something like:
FixedDocument doc = (FixedDocument)myFixedDocSequence.References.First();
This action does not work, but it illustrates what I am trying to achieve.
source
share