# Sample of creating thumbnail of a RVT model

**URL:** <https://forum.techsoft3d.com/t/sample-of-creating-thumbnail-of-a-rvt-model/5111>\
**Category:** HOOPS Exchange\
**Tags:** how-to\
**Created:** [March 23, 2026, 2:19am UTC](https://forum.techsoft3d.com/t/sample-of-creating-thumbnail-of-a-rvt-model/5111 "2026-03-23T02:19:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![820110017](https://avatars.discourse-cdn.com/v4/letter/8/bc79bd/32.png) [@820110017](https://forum.techsoft3d.com/u/820110017)\
**Post date:** [March 23, 2026, 2:19am UTC](https://forum.techsoft3d.com/t/sample-of-creating-thumbnail-of-a-rvt-model/5111/1 "2026-03-23T02:19:41Z")

</div>

Hi,

Is there any sample code of creating thumbnail of a RVT model ？（Using HOOPS Exchange）

Thanks.

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [March 24, 2026, 2:25am UTC](https://forum.techsoft3d.com/t/sample-of-creating-thumbnail-of-a-rvt-model/5111/2 "2026-03-24T02:25:43Z")

</div>

Exchange has limited options for exporting to an image file, namely from a PDF by using [A3DPDFDocumentExportAsImage](https://docs.techsoft3d.com/hoops/exchange/api/c/functions/A3DPDFDocumentExportAsImage.html#a3dpdfdocumentexportasimage).

For a Revit file, I think your best bet is to actually use Visualize Desktop/Mobile API. Please see the `Image` class:

> **[HPS.Image - Image — HOOPS Visualize Desktop Documentation](https://docs.techsoft3d.com/hoops/visualize-desktop/api_ref/cs/class_h_p_s_1_1_image.html#image)**
>
> Public Types

A quick example would be:

```auto
HPS::Image::File::Export("output.png", myWindowKey, 150, 150, HPS::Image::Format::Png, false);

```
