---
title: ".Save (.PdfDocument Objektmethode)"
---
[TOC]

#### Beschreibung

Serialises the current document to a file or blob. Returns 1 on success.

#### Argumente

<table style="table-layout: fixed; width: min(100%, 602px);"><colgroup><col style="width: 18.1%"><col style="width: 14.8%"><col style="width: 67.1%"></colgroup><tr><th><p><strong>Name</strong></p></th><th><p><strong>Typ</strong></p></th><th><p><strong>Beschreibung</strong></p></th></tr><tr><td><p>FileName</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/"><u>string</u></a></p></td><td><p>full path to the file to save the PDF to</p></td></tr></table>

#### Rückgabewert [<u>integer</u>](../../../standard-datentypen/integer.md)

1 on success, 0 on failure

#### Beispiel

| `xxx` |
| --- |
