This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/maui/user-interface/main-toolbar/placement.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Adjust placement of toolbar in MAUI PDF viewer | Nutrient

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);