
# IDocumentPreviewManager interface

*No description yet.*

```csharp
public interface IDocumentPreviewManager
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [FindPreview](#findpreview) | [IPreviewImage](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IPreviewImage.md) |  |
| [InvalidatePreview](#invalidatepreview) | `void` |  |
| [SavePreview](#savepreview) | `void` |  |

### FindPreview

*No description yet.*

```csharp
IPreviewImage FindPreview(string argDocumentPath, bool argForceGeneration);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argDocumentPath` | `string` | value |
| `argForceGeneration` | `bool` | value |

**Returns:** [IPreviewImage](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IPreviewImage.md)

Extension method of `IDocumentPreviewManagerHelper` (`using DXP;`).

### InvalidatePreview

*No description yet.*

```csharp
void InvalidatePreview(IServerDocument argServerDocument);
void InvalidatePreview(object argServerDocument);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argServerDocument` | [IServerDocument](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerDocument.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IDocumentPreviewManagerHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### SavePreview

*No description yet.*

```csharp
void SavePreview(IServerDocument argServerDocument, bool argForceGeneration);
void SavePreview(object argServerDocument, bool argForceGeneration);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argServerDocument` | [IServerDocument](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerDocument.md) | value |
| `argForceGeneration` | `bool` | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IDocumentPreviewManagerHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

## Returned by

[IClient.GetDocumentPreviewManager](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IClient.md#getdocumentpreviewmanager)
