The classic API provides multiple classes and functions to handle files and image data.
-
注意
-
For
MAXON API
file and media functions see
MAXON API Files & Media
.
文件
Files are created, loaded and edited with these classes:
-
For arbitrary file access independent of file type, see
BaseFile Manual
.
-
In order to work with
Cinema 4D
's file format, see
HyperFile Manual
.
-
A section in memory can be handled like a file, see
MemoryFileStruct Manual
.
-
ZipFile
class is used to access to ZIP archives, see
ZipFile Manual
.
-
Access to
AES
encrypted files is explained in the
AESFile Manual
.
-
Loading and saving of
Cinema 4D
scenes is explained in
Disc I/O
的
BaseDocument Manual
.
-
In order to load or save images, see
Disc I/O
在
BaseBitmap Manual
.
-
Sound files can be loaded and saved with the respective functions (
BaseSound::Load()
and
BaseSound::Save()
) of the
BaseSound
class.
-
For general file utility functions see
File Functions Manual
.
-
All available volumes (i.e. drives) can be browsed with
BrowseVolumes
, see also
BrowseVolumes Manual
.
-
All files inside of a directory can be inspected with
BrowseFiles
, see also
BrowseFiles Manual
.
-
When browsing files, dates and times are returned as
LocalFileTime
, see also
LocalFileTime Manual
.
-
FileMonitor can be used to get notifications about changes of files and directories, see also
FileMonitor Manual
.
另请参阅
Filename Manual
.
Media
Classes to load, edit and save image data are:
The image data stored in movie files can be accessed with these classes: