Show / Hide Table of Contents

Class KeyStrokeEventData

KeyStrokeEventData contains information for executing KeyStrokeAction

Inheritance
System.Object
KeyStrokeEventData
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public class KeyStrokeEventData : IDisposable

Constructors

KeyStrokeEventData(String, String, String, Int32, Int32)

The constructor for KeyStrokeEventData.For example, given the starting string "PDFTron Rocks", and the user selected "Tron" and pasted "Net", this would be indicated with the following constructor : KeyStrokeEventData(field_name, "PDFTron Rocks", "Net", 3, 7);

Declaration
public KeyStrokeEventData(string field_name, string current_value, string change, int selection_start, int selection_end)
Parameters
Type Name Description
System.String field_name

the name of the field where the event happens

System.String current_value

the value of the field before event happens

System.String change

the value of text that user wants to add

System.Int32 selection_start

the start position of the selected text

System.Int32 selection_end

the end position of the selected text

Methods

Dispose()

Destructor

Declaration
public override sealed void Dispose()

Dispose(Boolean)

Declaration
[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)
Parameters
Type Name Description
System.Boolean A_0

Finalize()

Declaration
protected void Finalize()

Implements

System.IDisposable
Back to top Generated by DocFX