Telerik Forums
UI for WinForms Forum
1 answer
43 views

Hi, I'm using a RadPdfViewer to show a document, and a RadPdfViewerNavigator associated with him.

I have 2 questions:

1) I've noticed that even if the pdf document is not loaded in the RadPdfViewer control, all buttons in the RadPdfViewerNavigator are enbaled, then the user can click on some button and I tthink this is not correct (further, the application can crash if he clicks for example, on the rotate button). Is there a way to tells that to the RadPdfViewerNavigator to enable/disable buttons in base of loaded document, or I need to do it programmatically?
2) The print preview form is very well and powerful, but I've noticed that it is very slow to move from a page to another... It can be a problem on my own, or it is by design?

Thank you for any assistance.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Nov 2023
7 answers
514 views
Hello.  I would like to add a "Save As" button and an "Email" button to the RadPdfViewerNavigator.  Is this possible to do?
Nadya | Tech Support Engineer
Telerik team
 answered on 18 Oct 2023
1 answer
29 views
Hi, I have a need for the user to be able to select an rectangular area from a PDF page from within the PDF viewer and then to extract this area as an image. Is this possible? If so how?
Dinko | Tech Support Engineer
Telerik team
 answered on 12 Oct 2023
1 answer
26 views

I'm trying to intercept the Open and Save As Buttons for special handling

I have tried

AddHandler RadPdfViewerNavigator1.CommandBarElement.Rows(0).Strips(0).MouseDown, AddressOf OpenButton_MouseDown

But the addressof sub never gets hit.

Also, when I try to get to the Save As button with the following code; it throws an error.  So, I'm approaching this the wrong way I guess.

AddHandler RadPdfViewerNavigator1.CommandBarElement.Rows(0).Strips(1).MouseDown, AddressOf SaveButton_MouseDown

After searching the forums, I'm not seeing any way to do this (so, I must be missing something).

Can you please tell me how to intercept these buttons?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Sep 2023
1 answer
26 views

Hello!

I *LOVE* your PDF Viewer - wish I'd found this a few years back!  I only wish it had TIFF support but that's for another time.

My users deal with large documents and having the Thumbnails is a nice navigation element.

They are NOT allowed to make bookmarks and for the life of me I can't figure out how to hide the Thumbnail menu button "Bookmarks"

In a perfect world, I'd like to hide that menu that sits directly above the thumbnail images entirely (two buttons.  Left Button when clicked shows the Thumbnails.  Right button when clicked shows Bookmarks.

How do I hide this menu OR if no way to hide it, how do i hide that "Bookmarks" button?

 

Cheers!

-c

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Sep 2023
1 answer
43 views

I just started using RadPDFViewer and it works well but I have two things that are driving me crazy.

  1. How do I remove the white spacing at the top of the control between the pdf and top of the control.
  2. There is a black border around the PDF itself inside the control that I would like to remove.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Jul 2023
1 answer
136 views

Hi, 
   I want to select the text from pdf file using pdfviewer and show that text in textbox, same like want to capture the text position same like zone of the text using x axis ,y axis ,height and width. I saw this is available in ui for wpf  , so same like available in ui for windows ?

Could you pls share sample project for text selection in wpf ? or if got in win pls share.
i used Radpdfviewer and RadPdfViewerNavigator for windows

Pls reply asap.

Regards
Aravind

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 May 2023
1 answer
40 views
Hi,

I am wondering if there is a way to lock the file if loading a document using the path of the pdf file because it does not accomplish that during the method call. I am able to delete the file while it is loaded in the viewer. i am using 2023 controls.
Yoan
Telerik team
 answered on 27 Apr 2023
1 answer
48 views

Hi.

How can a user change a PDF page order within radPdfViewer or radPdfViewerNavigator or another tool? 

What would be the behindcode for it?

Thanks.

 

Dimitar
Telerik team
 answered on 14 Apr 2023
1 answer
788 views

Hi all.

Question: is it possible to translate (back and forth) mouse coordinates in RadPdfViewer to PDF coordinates on the relative page?

I do not need location inside Telerik internal document representation nor on screen but on the PDF representation for interoperability with other tools.

What I mean by PDF coordinates: a coordinate system where the unit is 1/72th of an inch, having the origin (coordinate 0,0) at the bottom left of the page, and X Y increase toward the top right corner, for example an A4 bottom left coordinates are (0,0) top right  (597.6 , 842.4) 

The desired effect would be something like

 

public (int pageNo, float pdfX, float pdfY) GetPdfCoordinates(RadPdfViewer viewer,  Point mouseEventLocation){
public (int pageNo, int X, int Y) GetViewerCoordinates(RadPdfViewer viewer, int page, float pdfX, float pdfY);

Reasons: I am currently using other libraries only for that specific purpose but the telerik pdf viewer is just as good except for this important feature that allows software to interoperate with third parties PDF tools.

Thank you all.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Dec 2022
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
Menu
RichTextEditor
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Barcode
Styling
ColorBox
PictureBox
Callout
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?