Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does anyone have sample for wpf preview pdf #1

Open
godshades opened this issue Jan 30, 2020 · 2 comments
Open

Does anyone have sample for wpf preview pdf #1

godshades opened this issue Jan 30, 2020 · 2 comments

Comments

@godshades
Copy link

I saw this: https://github.com/empira/PDFsharp-samples/blob/master/samples/gdi/GraphicsPreview/PreviewForm.cs
But I need for wpf mvvm version. Does pdfsharp support this? Please help

@ThomasHoevel
Copy link
Member

Check this related sample:
https://github.com/empira/MigraDoc-samples/tree/master/samples/wpf/DocumentViewer

Under the hood it uses the XGraphics class to draw the preview and it may be a good start to get you going.

@godshades
Copy link
Author

godshades commented Jan 31, 2020

image
@ThomasHoevel : hi, Can I hide top and bottom toolbar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants