mergDocIcon

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mergDocIcon(<pFilePath>, <pIconSize>)
Associationsmergdoc
Summary

Get the icon for a document as image data

Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pFilePath

the full path of the document.

pIconSize

the width,height as returned from mergDocIconSizes.

Example
put mergDocIcon(specialFolderPath("engine")&"/pdfs/help.pdf",line 1 of mergDocIconSizes( specialFolderPath("engine")&"/pdfs/help.pdf")) into image "icon"

Values
NameTypeDescription
return

PNG image data.

Description

Get the icon for a document as image data

Tagsexternals