<ScrollView VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" x:Name="hello"> <Grid> <BoxView BackgroundColor="Red" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="10" HeightRequest="200"/> <BoxView BackgroundColor="Black" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="10" HeightRequest="200"/> <BoxView BackgroundColor="Yellow" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="10" HeightRequest="200"/> <WebView HorizontalOptions="FillAndExpand" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="10" x:Name="pdfviewer" HeightRequest="500" WidthRequest="500" VerticalOptions="Center" /> </Grid> </ScrollView>
Answers
@Manikandan_S
I meet the same issue, do you know how to resolve this problem?
I don't know about inside of a Scrollview. But the way I've seen this done required access to pinch and pan gesture recognizers which would then manipulate the scale, translatex, and translatey properties of the image. The cheap way I've seen this done was to load the image into a webview inside of a hardcoded webpage utilizing a metatag that allows the pinch zooming/panning on the page.