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
0
votes
1 answer

Databinding to DocumentViewer.Document Property

I have a view that contains a DocumentViewer control and I have another class that has a property that exposes a FixedDocumentSequence and implements INotifyPropertyChanged. I am trying to databind the document property of the documentviewer to the…
jfin3204
  • 699
  • 6
  • 18
0
votes
0 answers

GlemTech DocumentUltimate 6.9.5 when run on linux server some pdf files open and some are showing the error PortableEngine supports Windows Only

GlemTech DocumentUltimate 6.9.5 using ASP .NET Core when run on linux server some pdf files open and some are showing the error PortableEngine is currently supported only on Windows platform. But Some PDF files as well as jpg files are opening i…
0
votes
0 answers

Restrict Print through shortcuts in ngx-extended-pdf-viewer

Hi I am using ngx-extended-pdf-viewer` as a tool for the viewing a document within a web app. We are trying to restrict the print functionality through the print shortcut key. Thanks! We need either of the responses below:- 1- If a user presses on…
0
votes
0 answers

OpenText Brava HTML Viewer pagenumber parameter

We are using OpenText Brava viewer for document review and annotations. We are using Brava HTML Viewer as ActiveX viewer is not supported by latest browsers. In ActiveX viewer we have an option to add the page number in the Brava URL which will…
0
votes
0 answers

Not able to load XPS document on DocumentViewer

Due to security patch update dated 13 dec 2022 on machine, XPS document is unable display on  DocumentViewer UI control.Although microsoft provided an workaround regarding this. But can any one please help me out is there any other control availabe…
saumya
  • 1
0
votes
3 answers

wpf Can i display images in DocumentViewer?

I want to display xps Image in DocumentViewer, but without success. Does DocumentViewer support displaying images? If it is possible to display a picture in DocumentView, how can I do it? Any reply will be helpful. My code is as follows:
wpf
  • 103
  • 6
0
votes
2 answers

Remove border and shadow from DocumentViewer in WPF

Good evening. I have been chasing an issue with DocumentViewer and don't know how to address it. When you display a document in a DocumentViewer control, it displays a border and a shadow around the document and I do not know how to get rid of it. I…
Seated
  • 31
  • 7
0
votes
2 answers

How to remove FixedDocument from DocumentViewer?

I have a DocumentViewer with a fixedDocument (constructed in XAML) I then add content to the fixedDocument in code and it displays perfecty on screen. My problem is when I try to create an XPS file from the fixedDocument, im getting an 'its already…
tinmac
  • 2,357
  • 3
  • 25
  • 41
0
votes
1 answer

Can I bind to use content from the controls nested in the templated parent?

I want to use the System.Windows.Controls.DocumentViewer to view a FixedDocument I created from a PDF file using TallComponents.PDF.Rasterizer. This is working, however, I want to disable or remove some of the toolbar buttons displayed by the…
Jodrell
  • 34,946
  • 5
  • 87
  • 124
0
votes
1 answer

How to set text alignment in dynamically created FixedDocument

I am creating a report through FixedDocument and I am doing it in the code behind to dynamically add data to the report. I started using FixedDocument today and got stuck in aligning texts. It does not seem to center align. Here's my code: using…
ThEpRoGrAmMiNgNoOb
  • 1,256
  • 3
  • 23
  • 46
0
votes
1 answer

How to display windowless XPS document in a WPF component?

I am currently using DocumentViewer to display an XPS document. It works fine, shows the XPS document in a window, with all the controls: Find on the bottom and Print, Zoom in/out & Page width/height etc on the top. Is it possible to show just the…
cccec
  • 43
  • 1
  • 2
  • 9
0
votes
1 answer

WPF DocumentViewer Print Landscape Content Cut Off

I'm using DocumentViewer in a WPF XAML project. I create a fixed document with the following code. The page looks fine in the viewer. When I print it, it prints in landscape view, but the top 1-2 cm is cut off! I tried it without the scale transform…
Ross Kelly
  • 477
  • 1
  • 6
  • 23
0
votes
1 answer

Get xaml origin by klicking or selecting text in document viewer!

I'm trying to find the XPS xaml origin of an (text) element which is klicked or selected in a document viewer. Is this somehow possible? Thanks!
raphi011
  • 502
  • 1
  • 6
  • 23
0
votes
2 answers

view documents in browser without downloading

I have an asp.net site which is essentially a repository of documents uploaded by users. I would like visitors to the site to be able to view any of these documents in some sort of "document viewer" without ever being able to download the file to…
Khalid Rahaman
  • 2,292
  • 3
  • 28
  • 40