# Public Function GetAsRTItem() As NotesRichTextItem

**Gets generated PDF document as NotesRichTextItem.**

**Defined in**

`SwPDFDocument`

**Syntax**

`Set notesRichTextItem = swPDFDocument.GetAsRTItem()`

**Parameters**

**Return value**

`NotesRichTextItem`

PDF file attachment is embedded into the NotesRichTextItem.
