Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145684 | Jul 3,2019 02:06 PM UTC | May 11,2020 11:38 AM UTC | Xamarin.Forms | 3 |
![]() |
Tags: PdfViewer |
<ContentPage.Content>
<StackLayout>
<syncfusion:SfPdfViewer x:Name="pdfViewerControl" InputFileStream="{Binding PdfDocumentStream}" Toolbar = "{StaticResource ToolbarSettings}" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"/>
</StackLayout>
</ContentPage.Content>
|
Hi Joshua,Greetings from Syncfusion.When PDFViewer is placed inside the Stacklayout, We need to set the VerticalOptions and HorizontalOptions property of the PDF Viewer control to “FillAndExpand”.Please find the code snippet below,
<ContentPage.Content><StackLayout><syncfusion:SfPdfViewer x:Name="pdfViewerControl" InputFileStream="{Binding PdfDocumentStream}" Toolbar = "{StaticResource ToolbarSettings}" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"/></StackLayout></ContentPage.Content>However, once the document is loaded zoom will work only after scrolling which is a defect from our side. We are currently working on this issue and the fix for this will be included in our Essential Studio Volume 2 Main Release which will be available by Mid of July 2019.Regards,Jhansi
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.