# Public Function Init(LicenseKey As String) As Boolean

Initializes PDF creation process. It MUST be called before any other method in SwPDFCreator class or PDF creation will fail.

**Defined in**

`SwPDFCreator`

**Syntax**

`Call swPDFCreator.Init(licenseKey)`

**Parameters**

`LicenseKey`

String. Product license key.

**Return value**

Boolean

True, if product is licensed and PDF conversion can be continued; otherwise, false.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swingsoftware.com/pdf-converter-for-notes/for-developers/lotusscript-api-reference/class-swpdfcreator/public-function-init-licensekey-as-string-as-boolean.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
