cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving a TIFF document as a PDF

Raymond_Greenbe
Champ in-the-making
Champ in-the-making

My apologies if this has been asked before--I'm kind of pressed for time.

I am trying to retrieve a single, multi-page TIFF file as a PDF using one of the Unity API "GetDocument..." commands in Visual Studio 2012, ASP.NET 4.5, and display it on a web page.  Has anyone tried to do this?  If so, were you successful?  Thank you. 

3 REPLIES 3

Scott_Johnson3
World-Class Innovator
World-Class Innovator

Hi ray

You can do it using the Hyland unit api and .net 4.0.  You will need someone certified by Hyland to get the SDK.

Good luck

Scott

Nathan_Kossover
Star Contributor
Star Contributor

You will need to use the PDFDataProvider to get a TIFF as a PDF. Please refer to the information in the SDK at

Home / Unity API / Programmer Guide / Documents and Keywords / Accessing Document Page Data

 

Vince_Fedorchak
Champ in-the-making
Champ in-the-making

Here is the line of code to do it:

app.Core.Retrieval.PDF.GetDocument(document.DefaultRenditionOfLatestRevision);

'app' is a reference to an instance of an OnBase Application class.  'document' represents the document you are trying to retrieve.