Skip to main content

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

NameSummarySyntax
mergDocShowPreviewPresents the document in a full screen modal interfacemergDocShowPreview <pFilePath>
mergDocShowOpenInMenuPresents an action sheet on iPhone and popover on iPad showing the apps that the document type can be sent to mergDocShowOpenInMenu <pFilePath>, [<pPopoverRect>]
mergDocShowOptionsMenuPresents an action sheet on iPhone and popover on iPad showing the options for the document type mergDocShowOptionsMenu <pFilePath>, [<pPopoverRect>]

Function

NameSummarySyntax
mergDocCanOpenReturns true if there is an app that can open the document typemergDocCanOpen(<pFilePath>)
mergDocIconSizesGet a list of icon sizes available for the documentmergDocIconSizes(<pFilePath>)
mergDocIconGet the icon for a document as image datamergDocIcon(<pFilePath>, <pIconSize>)
Thank you for your feedback!

Was this page helpful?