Questions tagged [documentviewer]

A WPF UI control that can host paginated FixedDocument content such as an XpsDocument.

A WPF UI control that can host paginated FixedDocument content such as an XpsDocument.

You can read more about the DocumentViewer on Docs.

185 questions
2
votes
1 answer

Protected Tiff File Viewer Suggestions

In a web app we are building in ASP .NET, there is a requirement to allow users to view TIFF image files but not to have the ability to print, save or copy these documents. We understand users may be able to print screen, and thus no solution will…
cian1991ferrari
  • 133
  • 2
  • 6
  • 16
2
votes
1 answer

WPF Document Viewer Update Issues

After a lenghtly battle implementing document rotation for fixed documents using the documentViewer in WPF I finally manged to get it working with the code below: //Increment Rotation if (Rotation == 270) Rotation = 0; …
FA Servers
  • 401
  • 1
  • 4
  • 11
2
votes
1 answer

How to display documents from folder?

How can i display word documents, pdf documents in the browser using files from the web folder? So if a user uploads a pdf report and wants to see it in the browser, how can i allow that to happen? Can HTML5 be of use?
AAA
  • 3,120
  • 11
  • 53
  • 71
2
votes
1 answer

Notice page change in WPF Document Viewer

I have a C# Wpf project in which I have successfully loaded an Xps. file into a Document Viewer. I want to be able to have a variable in my C# code that notices a page change when you scroll the document. So far I have figured out, that there is a…
Lilly
  • 63
  • 4
2
votes
3 answers

In search of a lightweight pdf viewer

I am looking for a lightweight pdf viewer ( commercial / free) for my windows application. I presently display the pdf documents on a webbrowser with Adobe Reader Plug-ins. Background : The problem i am having with Adobe Reader is the Loading time.…
this-Me
  • 2,139
  • 6
  • 43
  • 70
2
votes
0 answers

How to add the Document Viewer plugin phonegap

Can you help me to use the documentviewer correctly. ref: https://github.com/sitewaerts/cordova-plugin-document-viewer cordova.plugins.SitewaertsDocumentViewer.canViewDocument( url, contentType, options, onPossible, onMissingApp,…
Shamnad P S
  • 1,095
  • 2
  • 15
  • 43
2
votes
1 answer

WPF DocumentViewer doesn't show the document

I'm using a DocumentViewer to view a FixedDocument and on 2 machines (out of over 500) the document viewer does not show the document. Edit: ok, it's not a bug in WPF and the DocumentViewer control works perfectly, I'm leaving this question…
Nir
  • 29,306
  • 10
  • 67
  • 103
2
votes
1 answer

How to make a aspxdocumentviewer direction rtl?

My goal is to have a right justified report. So I changed the text align from right to middle center justified because right justified alignment is not supported in document viewer I think. Now my text is justified but the direction is ltr. How to…
Hamid Reza
  • 2,913
  • 9
  • 49
  • 76
2
votes
2 answers

.NET WPF Application : Loading a resourced .XPS document

I'm trying to load a .xps document into a DocumentViewer object in my WPF application. Everything works fine, except when I try loading a resourced .xps document. I am able to load the .xps document fine when using an absolute path, but when I try…
contactmatt
  • 18,116
  • 40
  • 128
  • 186
2
votes
1 answer

WPF DocumentViewer : Navigate using internal link not accurate on first click

In WPF I have a DocumentViewer inside a Frame control. The DocumentViewer shows an XPS document generated with MS Word. The document contains a Table of Content to help navigate through the document. The DocumentViewer allows the user to click these…
Chris
  • 323
  • 2
  • 12
2
votes
1 answer

WPF Document Viewer Styling

I am trying to restyle the document viewer in WPF and I have restyled everything but the tool bar at the bottom. The problem I having is figuring out how to style the toolbar at the bottom and its child controls. Does anyone know how to restyle…
Nathan
  • 5,059
  • 16
  • 48
  • 61
2
votes
1 answer

How to change the View Mode of DocumentViewer

How can I change the View Mode of DocumentViewer?, I want the page to be full width since the beginning. If I use documentViewer.FitToWidth() it does stretch but not completely. If I use ctrl+2 it stretches completely and thats what I want to…
Ron
  • 3,975
  • 17
  • 80
  • 130
2
votes
2 answers

How to show a flow document using a DocumentViewer?

I have a simple flow document in my resources, FlowDocument1.xaml: Test …
Şafak Gür
  • 7,045
  • 5
  • 59
  • 96
2
votes
0 answers

Margin around FixedDocument in DocumentViewer

I am displaying a FixedDocument in a DocumentViewer, and by default the ScrollViewer shows the document with no margin above the top or below the bottom of the document. What I'd like is to change the style of the DocumentViewer so that the…
2
votes
1 answer

File viewer with search filter by category and sub categories Drupal 7

I want to create a site running locally(localhost) which views files that are uploaded by authorized user. Using search filter by category and sub categories, all ebooks that are included in that sub categories will be shown. How to create this kind…
Handy Manny
  • 388
  • 1
  • 4
  • 20