When I click on button need to read the PDF file in windows phone 7, I am saving the PDF file in a folder and given the specified path in Database.
How can I read the PDF document on a windows phone 7?
There are 3 ways to open PDF file on Windows Phone:
Use "native" PDF viewer - Adobe Reader
To do that, you need a location URI of your PDF file, and then you
can either use the HyperlinkButton
<HyperlinkButton Content="Click here to open PDF"
NavigateUri="URI of your PDF" TargetName="_blank" Margin="10,60,0,0"/>
or you could use the WebBrowser task to browse to the PDF which will
invoke the PDF viewer:
WebBrowserTask browser = new WebBrowserTask();
browser.URL = "URI of your PDF";
browser.Show();
Use ComponentOne control for viewing PDFs
http://www.componentone.com/SuperProducts/PdfViewerPhone/
This will cost you some money, but should work OK.
Write your own control for rendering PDFs :)))
Related
I would like to upload the pdf of a paper on my new google site. Specifically, I want that people can click on, say, "paper_title" and can visualize the pdf and, if they want, download it.
I would like if possible a step-by-step explanation.
Thanks!
This is fairly straightforwards:
Firstly, store the PDF files on Google Drive and, set the link sharing as appropriate (e.g. anyone with link can view) so even anonymous internet users can see the file.
To make the PDF available via Google Sites you can either:
From Drive, copy the link to the file, and in new Sites insert a text box and
include the hyperlink to the PDF file in the text box.
in new Sites Insert (From Drive) and select the PDF file from the Google Drive; gives the same result as above, but with a re-sizable thumbnail picture of the PDF file instead of a link.
Exactly what happens after they click on the link is going to depend upon what browser the user is using, and what (if any) PDF viewer plugin is installed. Chrome, pretty much does what you want: it opens the PDF file in a viewer, from where you can download it.
Even if you don't store the PDF on Google Drive, what is described above should still work, as long as you have a hyperlink to the PDF file.
I'm currently working on a intranet webapp for a company.
I've created it so the administrators of the site are able to upload files
(.docx, .pdf, .xlsx, .ppt etc) up to the webapp, to provide easier access
to documents for the employees. It works very well, however my client wasn't
too fond of having to download the files, and wanted it to pop up in the browser,
or open up the file-spesific program instead of download.
I was playing with some ideas:
1. Somehow parse the files to JSON at upload, and then show the content in browser with html.
2. Generate a pdf from the uploaded file (which automatically launches in the browser).
3. Somehow use a previewer to show the filecontent in the browser
4. Clients computer launches the uploaded file automatically on download, however I think this is a bit more tricky...
What would be the best and most time-efficient way to go about this?
It feels like what you actually want/need is a javascript document viewer (only) such as http://viewerjs.org/.
In Delphi XE7/XE8 with TChromium (DCEF3), I need to programmatically print (i.e. save) the current web page to a PDF document file (optionally without user interaction) to a predefined local path. Currently I can do this only indirectly by using a custom PDF printer driver and opening the printer dialog programmatically:
procedure TMainForm.btnPrintToPDF(Sender: TObject);
begin
// open the printer dialog:
crm.Browser.Host.Print;
end;
However, this has two disadvantages:
I cannot assume that the end user has a PDF printer driver installed
The end user has to select the file path in a file dialog, while the file path should be predefined.
But Chrome has a built-in PDF printer driver and print preview which is displayed with the keyboard shortcut CTRL+P. However, when I press CTRL+P in the guiclient TChromium demo application then nothing happens, no print preview like in Chrome is displayed.
So how can I call the PDF print preview in TChromium, possibly with a preset output path (without showing the file dialog)?
I created a template for a document i want to use, in photoshop.
I want to share this document as a PDF file.
I want some of the text i made in photoshop to work as hyperlinks and direct ppl to websites.
How do i save a photoshop file as a PDF and get hyperlinks to work in the PDF file?
I have tried using the slice tool. It works to assign a url and target.
But when saved as a PDF the links do not work.
Anyone?
I know that indesign allows for saving pdf documents in either print or web format. the latter allows for hyperlinks to be available. if photoshop does not offer this you can always add them in acrobat (not reader) and then resave the .pdf.
I am trying to provide a link in a PDF, which when clicked will open the folder the PDF is present. How can this be done?
this one would be alot easier if u have adobe profesional...what you do is this:
microsoft word(which has ur hyperlink) >adobe pdf>change conversion settings>check the box of "add links to adobe pdf". Now same thing again:
microsoft word>adobe pdf>convert pdf.
it converts with hyperlinks...wooooilaaa...plus u got some more options to create your chart in word than in adobe...hope this one helped as welll...!!!