Adjust the placement of the toolbar in our viewer
To adjust the placement of the main toolbar, set the IViewerConfiguration.ToolbarPlacement
property to either ToolbarPlacement.TOP
or ToolbarPlacement.BOTTOM
:
var config = PSPDFKitController.CreateViewerConfiguration();if (DeviceInfo.Current.Idiom == DeviceIdiom.Phone){ config.ToolbarPlacement = ToolbarPlacement.Bottom;}await PSPDFKitController.LoadDocumentFromAssetsAsync(DemoFile, config);