Drag PDF File

In an HTMLViewer I want to accept PDF file. I need to complete this code with a valid parameter

AcceptFileDrop("???")

On the documentation I only find sample code for images

  Var pngType As New FileType
  pngType.Name = "image/png"
  pngType.Extensions = "png"

you name it yourself whatever you like.

mime type is “application/pdf”

1 Like

You may want to read the following page:
https://documentation.xojo.com/getting_started/using_the_ide/file_type_group_editor.html

1 Like