Click or drag to resize

PdfToolBarZoomEx Class

Provides a container for Windows toolbar objects with predefined functionality for zooming
Inheritance Hierarchy

Namespace:  Patagames.Pdf.Net.Controls.Wpf.ToolBars
Assembly:  Patagames.Pdf.Wpf (in Patagames.Pdf.Wpf.dll) Version: 4.54.2704
public class PdfToolBarZoomEx : PdfToolBar

The PdfToolBarZoomEx type exposes the following members.

Public methodPdfToolBarZoomEx
Initializes a new instance of the PdfToolBarZoomEx class
Public propertyZoom
Calculate the current zoom
Public propertyZoomLevel
Gets or sets the array with zoom values for ComboBox or TrackBar
Protected methodCalcCurrentZoomLevel
Calculate zoom level for current Zoom and store it in internal field
Protected methodInitializeButtons
Create all buttons and add its into toolbar. Override this method to create custom buttons
(Overrides PdfToolBarInitializeButtons.)
Protected methodOnActualSizeClick
Occurs when the Actual Size item is clicked
Protected methodOnFitHeightClick
Occurs when the Fit To Height item is clicked
Protected methodOnFitPageClick
Occurs when the Fit To Page item is clicked
Protected methodOnFitWidthClick
Occurs when the Fit To Width item is clicked
Protected methodOnPdfViewerChanging
Called when the current PdfViewer control associated with the ToolBar is changing.
(Overrides PdfToolBarOnPdfViewerChanging(PdfViewer, PdfViewer).)
Protected methodOnPropertyChanged
Invoked whenever the effective value of any dependency property on this System.Windows.FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs).
(Overrides FrameworkElementOnPropertyChanged(DependencyPropertyChangedEventArgs).)
Protected methodOnToolBarOrientationChanged
Raises the LayoutCompleted event.
Protected methodOnTrackBarValueChanged
Occurs when the Value property of a track bar changes, either by movement of the scroll box or by manipulation in code.
Protected methodOnZoomExInClick
Occurs when the Zoom In button is clicked
Protected methodOnZoomExOutClick
Occurs when the Zoom Out button is clicked
Protected methodOnZoomLevelClick
Occurs when the any item with zoom level clicked in ZoomDropDown button
Protected methodSetZoom(Double)
Sets specified zoom for Pdf document
Protected methodSetZoom(Int32)
Sets specified zoom level for Pdf document
Protected methodUpdateButtons
Called when the ToolBar's items need to change its states
(Overrides PdfToolBarUpdateButtons.)
See Also