---
title: Formats
summary: API reference for the Formats enum.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-24
library: SAIF.Services.Printing
reference_type: package
---

# Formats

`Formats` is a public enumeration nested inside `clsRSPrint`. It enumerates the SSRS output formats supported by `clsRSPrint.Format`.

## Purpose
- Provide a type-safe vocabulary for selecting the SSRS render format.

## Context
- Namespace: `SAIF.Services.Printing`
- Assembly/package: `SAIF.Services.Printing`
- Defined in: `clsRSPrint.vb` (nested inside `clsRSPrint`)

## Public members

| Member | Signature | Purpose |
| --- | --- | --- |
| `CSV` | `CSV = 0` | Maps to render token `CSV` and file extension `csv`. |
| `Excel` | `Excel` | Maps to render token `Excel` and file extension `xls`. |
| `HTML` | `HTML` | Maps to render token `HTML` and file extension `html`. |
| `Image` | `Image` | Maps to render token `IMAGE` and file extension `jpeg`. |
| `PDF` | `PDF` | Maps to render token `PDF` and file extension `pdf`. |
| `Word` | `Word` | Maps to render token `Word` and file extension `doc`. |
| `XML` | `XML` | Maps to render token `XML` and file extension `xml`. |

## Behavioral notes
- `clsRSPrint.Format`'s setter translates each `Formats` value into both the render-format token string and the file extension used internally when rendering.

## Constraints and usage notes
- Callers select a member of `Formats` through `clsRSPrint.Format` before calling `PreviewDocument`.

## Sources
- `Services\SAIF.Services.Printing\clsRSPrint.vb`
