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

Highlight all hits in documentviewer

I know that the wpf-documentviewer supports the searching in the documents, if the document is a xpsdocument. The search only highlights one hit after the other. Is it possible to highlight all hits through the search-box? I have the following code…
Tomtom
  • 9,087
  • 7
  • 52
  • 95
1
vote
1 answer

How to remove DocumentViewer drop-shadow?

How can I remove the drop-shadow from the DocumentViewer control? If I use docViewer.ShowPageBorders = false the normal border around the document is gone too. When I set a BorderBrush the border goes around the control and not the document. Here is…
NKnusperer
  • 974
  • 1
  • 11
  • 31
1
vote
1 answer

Setting the cursor in a WPF documentViewer

I am creating a WPF document viewer that will zoom in to a page when it is double clicked on. To this end I am trying to get the cursor to turn into a hand when over a page in the document viewer, and an arrow when elsewhere. I have my xaml set up…
Kit Barnes
  • 725
  • 3
  • 11
  • 17
1
vote
1 answer

wpf documentviewer to view different file formats?

I have a wpf application where the user can upload files with different formats (for now only pdf). I want to use document viewer to let the user see what's been uploaded. Is this possible? If this is not possible, can you suggest an…
Angela
  • 531
  • 2
  • 8
  • 18
1
vote
0 answers

Print Preview in wpf

I have tried document viewer control and flow document control for print preview in wpf. But it doesn't working in my case. So how it is possible printpreview in wpf?
Hardik Kothari
  • 151
  • 1
  • 19
1
vote
1 answer

Load XPS to documentviewer from embedded resource

i am trying to make help for my application. I have xps documents which i am loading to documentviewer. These files are embedded in resource file. I am able to access these as bytearray. For example …
user1018711
1
vote
0 answers

Google Docs Viewer in react

I am trying to use Google Docs Viewer from 'react-google-docs-viewer' to display images, files and videos on my app. The library only gives us this implementation
1
vote
1 answer

Hide WPF DocumentViewer toolbar programmatically

This question has a solution: How do you hide a WPF DocumentViewer's menu bars? However, it only allows hiding the toolbar through XAML. I need to get this done programmatically. This answer: WPF: How can I remove the searchbox in a DocumentViewer?…
SharpAffair
  • 5,558
  • 13
  • 78
  • 158
1
vote
1 answer

How can I put an user control inside a document viewer?

Is it possible put an user control inside a doument viewer? If possible, how will it be that?
oscar.fimbres
  • 1,145
  • 1
  • 13
  • 24
1
vote
1 answer

C# WPF, how to open excel book in document viewer

I hope someone can help me how to open excel file in DocumentViewer component in wpf
Irakli Lekishvili
  • 33,492
  • 33
  • 111
  • 169
1
vote
0 answers

Display RTF with DocumentViewer

I need to display a RTF document in my WPF Application. I think DocumentViewer is the best choice because of search box and toolbar with print, zoom and so on. The problem is that I don't realize how to convert RTF format to FixedDocument. Any…
Jose Selesan
  • 678
  • 3
  • 7
  • 14
1
vote
0 answers

I need a web based document viewer in which i can show my tiff images

I need a web based document viewer, open sourced(free), in which i can show my tiff images. I've gone through so many links however couldn't found any product which supports the tiff format, and can be used within my java code. I have used…
himit
  • 19
  • 2
1
vote
1 answer

Get rendered content of WKWebView

I know how to get the html of a webview, but in my case, a lot of the html is just javascripts that load content. Is there a way to get what is displayed in the window? I logged webview.enclosedScrollView.documentView and that returned nil. Is there…
Gazoo
  • 59
  • 5
1
vote
0 answers

I want to display embedded images between text using apache poi.Does anyone has any idea how this can be done?

Here is the code of extracting embedded images in word document using apache poi. I want to show the embedded images in between text using apache poi. Basically I want to make a document viewer in which I can view my document. If anyone has any…
sneha rao
  • 43
  • 1
  • 8
1
vote
2 answers

Unable to build Angular project with ngx-doc-viewer

Its working fine when i do ng serve and normal ng build. But when i try to build project as ng build --prod its throwing me error as below ERROR in ./node_modules/ngx-doc-viewer/fesm2015/ngx-doc-viewer.js Module build failed (from…
Vicky Pal
  • 99
  • 1
  • 6