Uses of Class
com.vaadin.flow.component.pdfviewer.Zoom
Packages that use Zoom
-
Uses of Zoom in com.vaadin.flow.component.pdfviewer
Fields in com.vaadin.flow.component.pdfviewer declared as ZoomModifier and TypeFieldDescriptionstatic final ZoomZoom.PAGE_FITFits the whole current page into the viewer.static final ZoomZoom.PAGE_WIDTHFits the width of the current page to the viewer.Methods in com.vaadin.flow.component.pdfviewer that return ZoomModifier and TypeMethodDescriptionPdfViewer.getZoom()Gets the zoom level of the pages.PdfViewer.ZoomChangeEvent.getZoom()Gets the new zoom level.static ZoomZoom.of(double factor) Creates a zoom that scales the pages relative to their actual size, for example1shows them at 100% and1.5at 150%.Methods in com.vaadin.flow.component.pdfviewer with parameters of type ZoomModifier and TypeMethodDescriptionvoidSets the zoom level of the pages:PAGE_WIDTHfits the width of the current page to the viewerPAGE_FITfits the whole current page into the viewerof(double)scales the pages relative to their actual size The fit modes update the scale when the viewer resizes.Constructors in com.vaadin.flow.component.pdfviewer with parameters of type ZoomModifierConstructorDescriptionZoomChangeEvent(PdfViewer source, boolean fromClient, Zoom zoom) Creates a new event.