Show / Hide Table of Contents

# Class ResultSnapshot

Represents a transition between two document states.

##### Inheritance

object
ResultSnapshot

##### Implements

IDisposable

##### Inherited Members

object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: pdftron.SDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class ResultSnapshot : IDisposable

### Constructors

#### ResultSnapshot(IntPtr)

##### Declaration

    public ResultSnapshot(IntPtr impl_ptr)

##### Parameters

Type | Name | Description
--- | --- | ---
IntPtr | impl_ptr |

### Methods

#### CurrentState()

Retrieves the document state to which this transition has transitioned.

##### Declaration

    public DocSnapshot CurrentState()

##### Returns

Type | Description
--- | ---
DocSnapshot | The current document state

#### Destroy()

##### Declaration

    public void Destroy()

#### Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

##### Declaration

    public void Dispose()

#### Dispose(bool)

##### Declaration

    protected virtual void Dispose(bool disposing)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | disposing |

#### ~ResultSnapshot()

##### Declaration

    protected ~ResultSnapshot()

#### IsNullTransition()

Returns whether this transition is a null transition.

##### Declaration

    public bool IsNullTransition()

##### Returns

Type | Description
--- | ---
bool | Whether this transition is a null transition

#### IsOk()

Returns whether this transition is valid or a null transition.

##### Declaration

    public bool IsOk()

##### Returns

Type | Description
--- | ---
bool | Whether this transition is valid or a null transition

#### PreviousState()

Retrieves the document state from which this transition has transitioned.

##### Declaration

    public DocSnapshot PreviousState()

##### Returns

Type | Description
--- | ---
DocSnapshot | The previous document state

### Implements

IDisposable