Skip to main content

PdfToolStripItems

Version: 3.0

cete.dynamicpdf.viewer.pdftoolstripitems

PdfToolStripItems​

Represents the PdfToolStrip Items.

public class PdfToolStripItems
Public Class PdfToolStripItems

Inheritance: Object → PdfToolStripItems

Licensing Info​

This class is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

Examples​

This example demonstrates names of PdfToolStrip items PdfToolStrip using PdfToolStripItems .

Imports System
Imports System.Windows.Forms
Imports ceTe.DynamicPDF.Viewer

Public Class Form1
Inherits System.Windows.Forms.Form

Private MyPdfViewer As PdfViewer
Private MyToolStrip As ToolStrip

Sub New()
InitializeComponent()
End Sub

Shared Sub Main()
Application.Run(New Form1())
End Sub

Private Sub InitializeComponent()

End Sub

Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
Me.MyPdfViewer = New PdfViewer()
Me.MyToolStrip = New ToolStrip()
Me.MyToolStrip.Items.Add(Me.MyPdfViewer.ToolStrip.Items(ceTe.DynamicPDF.Viewer.PdfToolStripItems.OpenFile))
Me.MyToolStrip.Items.Add(Me.MyPdfViewer.ToolStrip.Items(ceTe.DynamicPDF.Viewer.PdfToolStripItems.TotalPages))
Me.Controls.Add(MyPdfViewer)
Me.Controls.Add(MyToolStrip)
End Sub

End Class
using System;
using System.Windows.Forms;
using ceTe.DynamicPDF.Viewer;

namespace DynamicPDFViewerDemo
{
public class Form1 : Form
{
private ceTe.DynamicPDF.Viewer.PdfViewer pdfViewer;
private System.Windows.Forms.ToolStrip toolStrip;

public Form1()
{
InitializeComponent();
this.Load += new EventHandler(Form1_Load);
}

[STAThread]
static void Main()
{
Application.Run(new Form1());
}

private void InitializeComponent()
{
this.pdfViewer = new PdfViewer();
this.toolStrip = new ToolStrip();
}
private void Form1_Load(object sender, EventArgs e)
{
this.toolStrip.Items.Add(this.pdfViewer.ToolStrip.Items[ceTe.DynamicPDF.Viewer.PdfToolStripItems.OpenFile]);
this.toolStrip.Items.Add(this.pdfViewer.ToolStrip.Items[ceTe.DynamicPDF.Viewer.PdfToolStripItems.TotalPages]);
this.Controls.Add(pdfViewer);
this.Controls.Add(toolStrip);
}
}
}

Methods​

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

Licensing Info​

This method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

Licensing Info​

This method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Licensing Info​

This method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Licensing Info​

This method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

Fields​

PdfToolStripItems.Find​

Represents a name for Findtext button.

PdfToolStripItems.FirstPage​

Represents a name for Firstpage button.

PdfToolStripItems.LastPage​

Represents a name for Lastpage button

PdfToolStripItems.MarqueeZoom​

Represents a name for Marqueezoom button.

PdfToolStripItems.NextPage​

Represents a name for Nextpage button.

PdfToolStripItems.NextView​

Represents a name for Next view

PdfToolStripItems.OpenFile​

Represents a name for Openfile button.

PdfToolStripItems.PageNumber​

Represents a name for Pagenumber textbox

PdfToolStripItems.Pan​

Represents a name for Pan mode button

PdfToolStripItems.PreviousPage​

Represents a name Preivouspage button.

PdfToolStripItems.PreviousView​

Represents a name for Previous view

PdfToolStripItems.Print​

Represents a name for Print button.

PdfToolStripItems.RotateClockwise​

Represents a name for RotateClockwise.

PdfToolStripItems.RotateCounterClockwise​

Represents a name for RotateCounterClockwise button

PdfToolStripItems.SinglePage​

Represents a name for Singlepage button.

PdfToolStripItems.SinglePageContinuous​

Represents a name for Singlepage continuous button.

PdfToolStripItems.TextSelection​

Represents a name for Textselect mode button.

PdfToolStripItems.TotalPages​

Represents a name for Total pages.

PdfToolStripItems.TwoPage​

Represents a name for Twopage button.

PdfToolStripItems.TwoPageContinuous​

Represents a name for Twopage continuous button.

PdfToolStripItems.ZoomIn​

Represents a name for ZoomIn button.

PdfToolStripItems.ZoomLevels​

Represents a name for Different Zoomlevels

PdfToolStripItems.ZoomOut​

Represents a name for ZoomOut button.

PdfToolStripItems.ZoomValue​

Represents a name for Zoomvalue textbox

See Also​

ceTe.DynamicPDF.Viewer