Determine Format from Stream

General discussions about GdPicture.NET.
Post Reply
Posts: 6
Joined: Tue Aug 21, 2012 4:42 pm

Determine Format from Stream

Post by indxlogic » Wed Feb 14, 2018 2:16 pm

I have a viewer that will routinely open PDF or TIFF documents from a stream. Previously, I would use

var _fmt = GdPictureImaging.GetDocumentFormatFromStream(_stream) to determine the format.

I would then open the stream with the appropriate method either:




After upgrading to the latest version. I see that imaging object no longer has a method for GetDocumentFormatFromStream. I have two questions.

1. Where is the documentation that says this method was removed?
2. What is the appropriate method to open a stream of unknown format?


Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests