Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

FileTypeToContentType Function

Overview

The FileTypeToContentType function translates a file type to a context type string.

Syntax/Parameters

Syntax

string = FileTypeToContentType ( string code | dword type );

Parameters

code

A string specifying file type string. Or,

type

A dword as file type code.

Return Value

Returns a string as a content type string or empty on failure. .

Remarks

A limited number of translations are supported related to images, word processing and data.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic