Is there any other way to integrate PDF viewing in a Flex application?

I am looking at ways to natively view PDF in a Flex application.

Currently, the only option I've seen is to use the flash.html.HTMLLoader class , which only works if you use AIR. This is not very important - I am ready to use AIR if necessary, but based on my experiments with viewing PDF in this way, it seems that AIR simply integrates the built-in Adobe PDF browser. A viewer plugin that not only displays PDF pages, but also provides all the manipulation controls (scaling, printing, etc.) that I don't want to see.

I'm looking for something that works somewhat line by line JPedal library for Java - an embedded component that just PDF does only one. Has anyone found a way to do this using the built-in AIR component or using some other method?

+3
source share
5 answers

There are several ways, but there really is no PDF file in the Flex application:

+2

If your goal is to simply display PDF in a Flex environment, you can use the IFrame approach. Here you can find an example http://www.deitte.com/archives/2006/08/finally_updated.htm

Using this approach, you can download any HTML content that contains a PDF.

Take a look.

0
source

Source: https://habr.com/ru/post/1697052/


All Articles