Click or drag to resize

PdfToolStripZoom Class

Provides a container for Windows toolbar objects with predefined functionality for zooming
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          System.Windows.FormsToolStrip
            Patagames.Pdf.Net.Controls.WinForms.ToolBarsPdfToolStrip
              Patagames.Pdf.Net.Controls.WinForms.ToolBarsPdfToolStripZoomEx
                Patagames.Pdf.Net.Controls.WinForms.ToolBarsPdfToolStripZoom

Namespace:  Patagames.Pdf.Net.Controls.WinForms.ToolBars
Assembly:  Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.30.2704
Syntax
public class PdfToolStripZoom : PdfToolStripZoomEx

The PdfToolStripZoom type exposes the following members.

Constructors
  NameDescription
Public methodPdfToolStripZoom
Initializes a new instance of the PdfToolStripZoom class
Top
Properties
  NameDescription
Public propertyPdfViewer
Gets or sets PdfViewer control associated with this PdfToolStrip control
(Inherited from PdfToolStrip.)
Public propertyZoom
Calculate the current zoom
(Inherited from PdfToolStripZoomEx.)
Public propertyZoomLevel
Gets or sets the array with zoom values for ComboBox or TrackBar
(Inherited from PdfToolStripZoomEx.)
Top
Methods
  NameDescription
Protected methodCalcCurrentZoomLevel
Calculate zoom level for current Zoom and store it in internal field
(Inherited from PdfToolStripZoomEx.)
Protected methodCreateButton
Create a new instance of ToolStripButton class with the specified name that displays the specified text and image and that raises the Click event.
(Inherited from PdfToolStrip.)
Protected methodInitializeButtons
Create all buttons and add its into toolbar. Override this method to create custom buttons
(Overrides PdfToolStripZoomExInitializeButtons.)
Protected methodOnActualSizeClick
Occurs when the Actual Size item is clicked
(Inherited from PdfToolStripZoomEx.)
Protected methodOnComboBoxKeyDown
Occurs when a key is pressed and held down while the ComboBox has focus.
Protected methodOnComboBoxSelectedIndexChanged
Occurs the the selected index changed
Protected methodOnFitHeightClick
Occurs when the Fit To Height item is clicked
(Inherited from PdfToolStripZoomEx.)
Protected methodOnFitPageClick
Occurs when the Fit To Page item is clicked
(Inherited from PdfToolStripZoomEx.)
Protected methodOnFitWidthClick
Occurs when the Fit To Width item is clicked
(Inherited from PdfToolStripZoomEx.)
Protected methodOnLayoutCompleted
Raises the LayoutCompleted event.
(Inherited from PdfToolStripZoomEx.)
Protected methodOnPdfViewerChanging
Called when the current PdfViewer control associated with the ToolStrip is changing.
(Inherited from PdfToolStripZoomEx.)
Protected methodOnTrackBarValueChanged
Occurs when the Value property of a track bar changes, either by movement of the scroll box or by manipulation in code.
(Inherited from PdfToolStripZoomEx.)
Protected methodOnZoomExInClick
Occurs when the Zoom In button is clicked
(Inherited from PdfToolStripZoomEx.)
Protected methodOnZoomExOutClick
Occurs when the Zoom Out button is clicked
(Inherited from PdfToolStripZoomEx.)
Protected methodOnZoomLevelClick
Occurs when the any item with zoom level clicked in ZoomDropDown button
(Inherited from PdfToolStripZoomEx.)
Protected methodSetZoom(Int32)
Sets specified zoom level for Pdf document
(Inherited from PdfToolStripZoomEx.)
Protected methodSetZoom(Single)
Sets specified zoom for Pdf document
(Inherited from PdfToolStripZoomEx.)
Protected methodUpdateButtons
Called when the ToolStrip's items need to change its states
(Overrides PdfToolStripZoomExUpdateButtons.)
Top
See Also