Interface ZoomableResourceEditor
- 
- All Known Implementing Classes:
- BrowserPanel,- DesignerPanel,- PreviewPanel
 
 public interface ZoomableResourceEditorA ZoomableResourceEditor is a designer interface that allows that allows for the 'zooming' in and out on the content in the main resource workspace panel such as seen in and Report resources.Implementing this interface for your ResourceWorkspaceand adding theZoomIndicatorto theDesignerContextStatusBarvia addDisplay() allows a visible helper found at the southeast of the Ignition Designer. ResourceWorkspace.onActivate() and onDeactivate() provide good opportunities to add the and remove the ZoomIndicator from the designer.- Since:
- 7.8.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetZoom()booleanisZoomingEnabled()Whether or not this resource workspace supports or allows zooming.voidsetZoom(int zoom)Set the amount of zoom for the given resource, where 100 represents 100% sizing
 
- 
- 
- 
Method Detail- 
setZoomvoid setZoom(int zoom) Set the amount of zoom for the given resource, where 100 represents 100% sizing
 - 
getZoomint getZoom() - Returns:
- the current zoom level as a percent
 
 - 
isZoomingEnabledboolean isZoomingEnabled() Whether or not this resource workspace supports or allows zooming. Returning false will disable the southern toolbar display in the Ignition Designer- Returns:
- whether or not the popup menu should be enabled for the given editor
 
 
- 
 
-