COM is really a nightmare... Use managed solution (SharpCompress) instead

This commit is contained in:
Paddy Xu
2017-05-01 12:09:16 +03:00
parent e6b7e14bba
commit dbafec9cb8
20 changed files with 82 additions and 4390 deletions

View File

@@ -24,7 +24,7 @@ namespace QuickLook.Plugin.PDFViewer
}
}
public void BoundViewSize(string path, ViewerObject context)
public void BoundViewSize(string path, ContextObject context)
{
_pdfControl = new PdfViewerControl();
@@ -33,7 +33,7 @@ namespace QuickLook.Plugin.PDFViewer
context.SetPreferredSizeFit(desiredSize, 0.8);
}
public void View(string path, ViewerObject context)
public void View(string path, ContextObject context)
{
context.ViewerContent = _pdfControl;