Reputation: 21
I want to make a pdfreader with the native pdf reader in Windows 8 (consumerpreview version). I find a dll (Microsoft.LightSwitch.Design.Extensions.Reader) Is this the dll that I can use ?
Upvotes: 2
Views: 2773
Reputation: 9
Microsoft.LightSwitch.Design.Extensions.Reader is not native, it's a WinRT library, its PE header reveals its real identity.
You can use the freeware PDF Reader for Windows 8, or its DLL for your development.
Upvotes: 0
Reputation: 31724
It's not likely the pdf library is exposed in any way. An earlier question on MSDN forums suggested opening a pdf file with the default program associated with it like this:
Windows.Storage.StorageFile file =
await Windows.ApplicationModel.
Package.Current.InstalledLocation
.GetFileAsync(@"Images\test.pdf");
Windows.System.Launcher.LaunchDefaultProgramForFile(file);
Upvotes: 1