Click or drag to resize

PdfToolBarZoomEx Class

Provides a container for Windows toolbar objects with predefined functionality for zooming
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsItemsControl
                System.Windows.ControlsHeaderedItemsControl
                  System.Windows.ControlsToolBar
                    Patagames.Pdf.Net.Controls.Wpf.ToolBarsPdfToolBar
                      Patagames.Pdf.Net.Controls.Wpf.ToolBarsPdfToolBarZoomEx
                        Patagames.Pdf.Net.Controls.Wpf.ToolBarsPdfToolBarZoom

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

The PdfToolBarZoomEx type exposes the following members.

Constructors
  NameDescription
Public methodPdfToolBarZoomEx
Initializes a new instance of the PdfToolBarZoomEx class
Top
Properties
  NameDescription
Public propertyZoom
Calculate the current zoom
Public propertyZoomLevel
Gets or sets the array with zoom values for ComboBox or TrackBar
Top
Methods
  NameDescription
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.)
Top
See Also