FileType.MacType

From Xojo Documentation

Revision as of 19:05, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated" to "{{DeprecatedItem")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As String )
aFileType.MacType = newStringValue
or
StringValue = aFileType.MacType

Supported for all project types and targets.

The four-byte string used to identify the type of file in the Mac OS.

Sample Code

The following defines the png file type in code.

Dim pngType As New FileType
pngType.Name = "image/png"
pngType.MacType = "PNG"
pngType.MacCreator="ogle"
pngType.Extensions = "png"