Show / Hide Table of Contents

# Delegate PDFViewWPF.OnSetdocHandler

Delegate for when a doc is set. Once this even is raised, the doc should be ready for zooming and scrolling

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public delegate void PDFViewWPF.OnSetdocHandler(PDFViewWPF viewer)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFViewWPF | viewer | Delegate for when a doc is set. Once this even is raised, the doc should be ready for zooming and scrolling

### Constructors

#### OnSetdocHandler(object, IntPtr)

##### Declaration

    public OnSetdocHandler(object A_0, IntPtr A_1)

##### Parameters

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

### Methods

#### BeginInvoke(PDFViewWPF, AsyncCallback, object)

##### Declaration

    public IAsyncResult BeginInvoke(PDFViewWPF viewer, AsyncCallback callback, object obj)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFViewWPF | viewer |
AsyncCallback | callback |
object | obj |

##### Returns

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

#### EndInvoke(IAsyncResult)

##### Declaration

    public void EndInvoke(IAsyncResult result)

##### Parameters

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

#### Invoke(PDFViewWPF)

##### Declaration

    public void Invoke(PDFViewWPF viewer)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFViewWPF | viewer |