XmpDynamicMediaPackage 类
Summary: Represents XMP Dynamic Media namespace.
Module: aspose.imaging.xmp.schemas.xmpdm
Full Name: aspose.imaging.xmp.schemas.xmpdm.XmpDynamicMediaPackage
Inheritance: IXmlValue, XmpPackage
Constructors
| Name | 描述 |
|---|---|
| XmpDynamicMediaPackage() | 初始化 XmpDynamicMediaPackage 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| count | int | r | 获取 XMP 键的计数。 |
| namespace_uri | string | r | 获取命名空间 URI。 |
| prefix | string | r | 获取前缀。 |
| xml_namespace | string | r | 获取 XML 命名空间。 |
Methods
Constructor: XmpDynamicMediaPackage()
XmpDynamicMediaPackage()
初始化 XmpDynamicMediaPackage 类的新实例。
Method: add_value(key, value)
add_value(key, value)
添加字符串属性。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 标识已添加值的键的字符串表示形式。 |
| value | string | 字符串值。 |
Method: add_value(key, value)
add_value(key, value)
添加字符串属性。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 标识已添加值的键的字符串表示形式。 |
| value | System.Object | 字符串值。 |
Method: contains_key(key)
contains_key(key)
确定此集合是否指定了键。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 要检查的键。 |
Returns
| Type | Description |
|---|---|
| bool | True 如果包含指定键;否则,False。 |
Method: get_prop_value(key)
get_prop_value(key)
获取具有指定键的对象。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 标识值的键。 |
Returns
| Type | Description |
|---|---|
| System.Object | 返回具有指定键的对象。 |
Method: get_xml_value()
get_xml_value()
将 XMP 值转换为 XML 表示。
Returns
| Type | Description |
|---|---|
| string | 返回转换为 XML 表示形式的 XMP 值。 |
Method: remove(key)
remove(key)
移除具有指定键的值。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 已删除值对应键的字符串表示。 |
Returns
| Type | Description |
|---|---|
| bool | 如果已删除具有指定键的值,则返回 true。 |
Method: set_abs_peak_audio_file_path(uri)
set_abs_peak_audio_file_path(uri)
设置绝对峰值音频文件路径。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| uri | string | 文件峰值音频文件的绝对路径。 |
Method: set_alblum(album)
set_alblum(album)
设置专辑。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 专辑 | string | 专辑。 |
Method: set_alt_tape_name(alt_tape_name)
set_alt_tape_name(alt_tape_name)
设置备用磁带名称。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| alt_tape_name | string | 替代磁带名称。 |
Method: set_alt_time_code(timecode)
set_alt_time_code(timecode)
设置备用时间码。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| timecode | Timecode | 时间码。 |
Method: set_artist(artist)
set_artist(artist)
设置艺术家。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| artist | string | 艺术家。 |
Method: set_audio_channel_type(audio_channel_type)
set_audio_channel_type(audio_channel_type)
设置音频通道类型。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| audio_channel_type | AudioChannelType | 音频通道类型。 |
Method: set_audio_sample_rate(rate)
set_audio_sample_rate(rate)
设置音频采样率。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 速率 | int | 音频采样率。 |
Method: set_audio_sample_type(audio_sample_type)
set_audio_sample_type(audio_sample_type)
设置音频采样类型。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| audio_sample_type | AudioSampleType | 音频采样类型。 |
Method: set_camera_angle(camera_angle)
set_camera_angle(camera_angle)
设置相机角度。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| camera_angle | string | 相机角度。 |
Method: set_camera_label(camera_label)
set_camera_label(camera_label)
设置相机标签。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| camera_label | string | 相机标签。 |
Method: set_camera_move(camera_move)
set_camera_move(camera_move)
设置相机移动。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| camera_move | string | 相机移动。 |
Method: set_client(client)
set_client(client)
设置客户端。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 客户端 | string | 客户端。 |
Method: set_comment(comment)
set_comment(comment)
设置评论。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 评论 | string | 评论。 |
Method: set_composer(composer)
set_composer(composer)
设置作曲者。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 作曲家 | string | 作曲家。 |
Method: set_director(director)
set_director(director)
设置导演。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 导演 | string | 导演。 |
Method: set_director_photography(director_photography)
set_director_photography(director_photography)
设置摄影导演。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| director_photography | string | 摄影导演。 |
Method: set_duration(duration)
set_duration(duration)
设置持续时间。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| duration | Time | 持续时间。 |
Method: set_engineer(engineer)
set_engineer(engineer)
设置工程师。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 工程师 | string | 工程师。 |
Method: set_file_data_rate(rate)
set_file_data_rate(rate)
设置文件数据速率。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| rate | Rational | 文件数据速率(兆字节每秒)。 |
Method: set_genre(genre)
set_genre(genre)
设置流派。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 类型 | string | 该类型。 |
Method: set_good(good)
set_good(good)
设置良好。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 好 | bool | 如果设置为 |
Method: set_instrument(instrument)
set_instrument(instrument)
设置乐器。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 乐器 | string | 该乐器。 |
Method: set_intro_time(intro_time)
set_intro_time(intro_time)
设置介绍时间。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| intro_time | Time | 引言时间。 |
Method: set_key(key)
set_key(key)
设置音频的调性。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 音频的调性。可选项包括:C、C#、D、D#、E、F、F#、G、G#、A、A# 和 B。 |
Method: set_log_comment(comment)
set_log_comment(comment)
设置用户的日志评论。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 评论 | string | 评论。 |
Method: set_prop_value(key, value)
set_prop_value(key, value)
获取或设置具有指定键的对象。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 标识值的键。 |
| value | System.Object | 具有指定键的对象。 |
Method: set_value(key, value)
set_value(key, value)
设置值。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 标识已添加值的键的字符串表示形式。 |
| value | IXmlValue | 要添加到的值。 |
Method: set_value(key, value)
set_value(key, value)
设置值。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 标识已添加值的键的字符串表示形式。 |
| value | IXmpType | 要添加到的值。 |
Method: set_xmp_type_value(key, value)
set_xmp_type_value(key, value)
设置 XMP 类型值。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | 已设置值对应键的字符串表示。 |
| value | XmpTypeBase | 要设置的值。 |
Method: try_get_value(key, value)
try_get_value(key, value)
获取通过 key 的值。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| key | string | XMP 元素键。 |
| value | System.Object | XMP 值。 |
Returns
| Type | Description |
|---|---|
| bool | True,如果该 包含 key;否则为 False。 |