Set FileType?

Hi,
I have the following line of code which allows the user to decide where to save a pdf file which is created by my .exe.

dim outfile as folderitem = GetsaveFolderItem(FileType1.PDF, "test.pdf")

I believe I have to set the pdf filetype somewhere in my app, but have no idea how to do it.
I have looked in the language reference at FileType, but didn’t quite understand it :frowning:

I think it is something like this, but have no idea what to replace the question marks with??:

Dim FileType1 As New FileType FileType1.Name = "????/pdf" FileType1.MacType = "???" FileType1.MacCreator = "????" FileType1.Extensions = "pdf"

Can someone please help me?

Thank you all in advance.

Create a global property in a MODULE

 FileType1 As New FileType

In app.open put the rest.

OR

Use the FileType Wizard to do the work for you.

INSERT --> FILE TYPE SET

Insert >File Type Set was exactly what I needed - Thank you Dave!