<Window x:Class="YourProject.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:MaquetteTelerikPDFViewer"
mc:Ignorable="d"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Title="MainWindow" Height="450" Width="800">
<Grid>
<telerik:RadPdfViewer x:Name="pdfViewer"/>
</Grid>
</Window>
public partial class MainWindow: Window
{
public MainWindow()
{
InitializeComponent();
}
protected override void OnInitialized(EventArgs e)
{
base.OnInitialized(e);
using(Stream stream = new FileStream(@"radExport.pdf",FileMode.Open,FileAccess.Read)){
pdfViewer.Document = new PdfFormatProvider(stream).Import();
}
}
}
The exception is thrown with the message "Password is not correct" even when the user password is correct. This issue occurs for specific encryption algorithm parameters only.
Images decoded with CCITTFaxDecode filter affect the performance when showing the document.
This item is "Declined" because it is merged with another feedback item. Instead, you may follow this item: https://feedback.telerik.com/Project/143/Feedback/Details/155077-pdfviewer-text-is-displayed-as-rectangles-for-some-truetype-fonts