mergDoc
Type
library
Description
mergDoc is an iOS external that adds functions and commands related to document interaction. This currently includes presenting a modal preview, open in app menu, document options menu and requesting the document icons in PNG form. Printing is also available via the preview.
Associated Syntax
Command
| Name | Summary | Syntax |
|---|---|---|
| mergDocShowPreview | Presents the document in a full screen modal interface | mergDocShowPreview <pFilePath> |
| mergDocShowOpenInMenu | Presents an action sheet on iPhone and popover on iPad showing the apps that the document type can be sent to | mergDocShowOpenInMenu <pFilePath>, [<pPopoverRect>] |
| mergDocShowOptionsMenu | Presents an action sheet on iPhone and popover on iPad showing the options for the document type | mergDocShowOptionsMenu <pFilePath>, [<pPopoverRect>] |
Function
| Name | Summary | Syntax |
|---|---|---|
| mergDocCanOpen | Returns true if there is an app that can open the document type | mergDocCanOpen(<pFilePath>) |
| mergDocIconSizes | Get a list of icon sizes available for the document | mergDocIconSizes(<pFilePath>) |
| mergDocIcon | Get the icon for a document as image data | mergDocIcon(<pFilePath>, <pIconSize>) |