Show / Hide Table of Contents

# Delegate PDFViewCurrentPageDelegate

A prototype for a delegate that will be called whenever current page number changes.

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public delegate void PDFViewCurrentPageDelegate(int current_page, int num_pages, object obj)

##### Parameters

Type | Name | Description
--- | --- | ---
int | current_page | the current page
int | num_pages | total number of pages in the document
object | obj |

### Constructors

#### PDFViewCurrentPageDelegate(object, IntPtr)

##### Declaration

    public PDFViewCurrentPageDelegate(object A_0, IntPtr A_1)

##### Parameters

Type | Name | Description
--- | --- | ---
object | A_0 |
IntPtr | A_1 |

### Methods

#### BeginInvoke(int, int, object, AsyncCallback, object)

##### Declaration

    public IAsyncResult BeginInvoke(int current_page, int num_pages, object obj, AsyncCallback callback, object obj)

##### Parameters

Type | Name | Description
--- | --- | ---
int | current_page |
int | num_pages |
object | obj |
AsyncCallback | callback |
object | obj |

##### Returns

Type | Description
--- | ---
IAsyncResult |

#### EndInvoke(IAsyncResult)

##### Declaration

    public void EndInvoke(IAsyncResult result)

##### Parameters

Type | Name | Description
--- | --- | ---
IAsyncResult | result |

#### Invoke(int, int, object)

##### Declaration

    public void Invoke(int current_page, int num_pages, object obj)

##### Parameters

Type | Name | Description
--- | --- | ---
int | current_page |
int | num_pages |
object | obj |