Time 类

Summary: Representation of a time value in seconds.

Module: aspose.imaging.xmp.schemas.xmpdm

Full Name: aspose.imaging.xmp.schemas.xmpdm.Time

Inheritance: IXmpType, XmpTypeBase

Constructors

Name描述
Time(scale, value)初始化 Time 类的新实例。

Properties

NameTypeAccess描述
scaleRationalr/w获取或设置时间值的比例。
valueintr/w获取或设置指定比例下的时间值。

Methods

Name描述
clone()克隆此实例。
get_xmp_representation()获取 XMP 格式中包含的字符串值。

Constructor: Time(scale, value)

 Time(scale, value) 

初始化 Time 类的新实例。

Parameters:

参数TypeDescription
scaleRational比例。
valueint值。

Method: clone()

 clone() 

克隆此实例。

Returns

TypeDescription
System.Object成员逐个克隆。

Method: get_xmp_representation()

 get_xmp_representation() 

获取 XMP 格式中包含的字符串值。

Returns

TypeDescription
string返回 XMP 格式中包含的字符串值。