Click or drag to resize

PdfToolStripMain Class

Provides a container for Windows toolbar objects with predefined functionality for opening and printing
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.ToolBarsPdfToolStripMain

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

The PdfToolStripMain type exposes the following members.

Constructors
  NameDescription
Public methodPdfToolStripMain
Initializes a new instance of the PdfToolStripMain class
Top
Properties
  NameDescription
Public propertyPdfViewer
Gets or sets PdfViewer control associated with this PdfToolStrip control
(Inherited from PdfToolStrip.)
Top
Methods
  NameDescription
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 PdfToolStripInitializeButtons.)
Protected methodOnOpenClick
Occurs when the Open button is clicked
Protected methodOnPasswordRequired
Occurs when the Loaded document protected by password. Application should return the password
Protected methodOnPdfPrinDocumentCreaded
Occurs after an instance of PdfPrintDocument class is created and before printing is started.
Protected methodOnPdfViewerChanging
Called when the current PdfViewer control associated with the ToolStrip is changing.
(Overrides PdfToolStripOnPdfViewerChanging(PdfViewer, PdfViewer).)
Protected methodOnPrintClick
Occurs when the Print button is clicked
Protected methodUpdateButtons
Called when the ToolStrip's items need to change its states
(Overrides PdfToolStripUpdateButtons.)
Top
Events
  NameDescription
Public eventPasswordRequired
Occurs when the loaded document protected by password. Application should return the password through Value property
Public eventPdfPrintDocumentCreated
Occurs after an instance of PdfPrintDocument class is created and before printing is started.
Top
See Also