Completed
Last Updated: 26 Sep 2022 12:36 by ADMIN
Release R2 2022
ADMIN
Created by: Tanya
Comments: 2
Category: PdfViewer
Type: Feature Request
17

			
Completed
Last Updated: 04 Jan 2017 15:01 by ADMIN
Note: If you use the next button to navigate to the next search result, the user should be notified when the end of the document is reached as well.

Workaround:

public Form1()
{
    InitializeComponent(); 
    this.radPdfViewer1.LoadDocument(@"..\..\..\samplePdf.pdf"); 

    //create a new button
    CommandBarButton findNext = new CommandBarButton();
    findNext.Text = PdfViewerLocalizationProvider.CurrentProvider.GetLocalizedString(PdfViewerStringId.NavigatorFindNextButton);
    findNext.Click += findNext_Click;
    findNext.Image = this.radPdfViewerNavigator1.FindNextButton.Image;
    //hide the currently available button
    this.radPdfViewerNavigator1.DefaultStrip.Items.Add(findNext);
    this.radPdfViewerNavigator1.FindNextButton.Visibility = ElementVisibility.Collapsed;
}

private void findNext_Click(object sender, EventArgs e)
{
    if (this.radPdfViewerNavigator1.SearchTextBox.Text != string.Empty)
    { 
        if (this.radPdfViewerNavigator1.AssociatedViewer == null || this.radPdfViewerNavigator1.AssociatedViewer.Document == null)
        {
            return;
        }

        PropertyInfo internalDocumentPI = typeof(RadFixedDocument).GetProperty("InternalDocument", BindingFlags.NonPublic | BindingFlags.Instance);
        object internalDocument = internalDocumentPI.GetValue(this.radPdfViewerNavigator1.AssociatedViewer.Document, null);
        object textSearch = internalDocument.GetType().GetProperty("TextSearch", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(internalDocument, null);
        MethodInfo mi = textSearch.GetType().GetMethod("Find", BindingFlags.Public | BindingFlags.Instance);
        TextSearchOptions searchOptions = new TextSearchOptions(false);
        SearchResult searchResult = mi.Invoke(textSearch, new object[2] { this.radPdfViewerNavigator1.SearchTextBox.Text, searchOptions }) as SearchResult;
        if (searchResult.Result != null)
        {
            this.radPdfViewerNavigator1.AssociatedViewer.Select(searchResult);
        }
        else
        {
            RadMessageBox.Show("No matches");
        }
    }
}
Completed
Last Updated: 09 Jan 2017 13:41 by ADMIN
ADMIN
Created by: Hristo
Comments: 0
Category: PdfViewer
Type: Bug Report
1

			
Completed
Last Updated: 20 Nov 2023 07:41 by ADMIN
Release R3 2023 SP1 (2023.3.1114)
Unplanned
Last Updated: 08 Aug 2024 10:20 by ADMIN
ADMIN
Created by: Dimitar
Comments: 3
Category: PdfViewer
Type: Feature Request
12

			
Unplanned
Last Updated: 15 Aug 2017 10:02 by ADMIN
Unplanned
Last Updated: 15 Aug 2017 10:02 by ADMIN
Completed
Last Updated: 26 Oct 2015 15:37 by ADMIN
Completed
Last Updated: 05 Aug 2015 13:20 by ADMIN
Unplanned
Last Updated: 26 Mar 2018 10:47 by ADMIN
Completed
Last Updated: 26 Oct 2015 15:38 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: PdfViewer
Type: Feature Request
0
http://docs.telerik.com/devtools/wpf/controls/radpdfviewer/document-model/exceptionhandling
Completed
Last Updated: 24 Jul 2015 07:35 by ADMIN
Unplanned
Last Updated: 15 Aug 2017 10:02 by ADMIN
ADMIN
Created by: Ivan Todorov
Comments: 0
Category: PdfViewer
Type: Feature Request
0
The PdfPrintPreviewDialog should allow the end user to resize it and the page preview in it should scale accordingly. This would allow the user to have a better preview of the print settings.
Completed
Last Updated: 24 Oct 2016 12:55 by ADMIN
To reproduce:

public Form1()
{
    InitializeComponent();

    radPdfViewer1.DocumentLoaded += radPdfViewer1_DocumentLoaded;
    radPdfViewer1.LoadDocument(@"..\..\TestDocument.pdf");
}

void radPdfViewer1_DocumentLoaded(object sender, EventArgs e)
{
    var pdfViewerElement = sender as RadPdfViewerElement;

    if (pdfViewerElement != null)
    {
        var myDocumentToPrint = new RadPrintDocument();
        myDocumentToPrint.AssociatedObject = pdfViewerElement;
        myDocumentToPrint.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
        myDocumentToPrint.Print();
    }
}
 
Please refer to the attached screenshots and sample pdf.

Workaround:  Specify the RadPrintDocument.DefaultPageSettings.Margins property on a way to have the right margin greater than 0 
Completed
Last Updated: 26 Apr 2016 12:10 by ADMIN
Unplanned
Last Updated: 13 Dec 2016 11:00 by ADMIN
When an image is actually consisting of a sequence of smaller images, sometimes white lines appear between the smaller images.
Unplanned
Last Updated: 30 Mar 2016 10:02 by ADMIN
Declined
Last Updated: 09 Apr 2015 12:59 by ADMIN
Created by: Mauro Pederzolli
Comments: 1
Category: PdfViewer
Type: Feature Request
3
Add rotate view button.
Completed
Last Updated: 03 Jun 2015 13:07 by ADMIN
To reproduce:
- Just show and close a form that contains pdf viewer with a loaded document several times.