PDFViewer.xaml 969 B

123456789101112131415161718
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <mobile:MobilePage xmlns:local="clr-namespace:PRS.Mobile" xmlns="http://xamarin.com/schemas/2014/forms"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. xmlns:syncfusion="clr-namespace:Syncfusion.SfPdfViewer.XForms;assembly=Syncfusion.SfPdfViewer.XForms"
  5. xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
  6. x:Class="PRS.Mobile.PDFViewer"
  7. Title="PDF Viewer">
  8. <mobile:MobilePage.PrimaryMenu>
  9. <ImageButton x:Name="_share" Source="share" Clicked="ShareBtn_Clicked" Margin="5" />
  10. <ImageButton x:Name="_print" Source="print" Clicked="PrintBtn_Clicked" Margin="5" />
  11. </mobile:MobilePage.PrimaryMenu>
  12. <mobile:MobilePage.PageContent>
  13. <syncfusion:SfPdfViewer x:Name="pdfViewerControl" IsToolbarVisible="False" PageViewMode="PageByPage" />
  14. </mobile:MobilePage.PageContent>
  15. </mobile:MobilePage>