AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
ClassId | GetClassId () |
StreamComponent (ObjectId entityId) | |
String | GetMetadata () |
boolean | SetMetadata (String val) |
String | GetDataType () |
long | GetDataSize () |
ArrayBuffer | GetBuffer () |
boolean | SetBuffer (ArrayBuffer val) |
void | SetData (ArrayBuffer data) |
Public 成员函数 继承自 Component | |
ClassId | GetClassId () |
Component (ObjectId entityId) | |
ObjectId | GetEntityId () |
boolean | SetEntityId (ObjectId val) |
Element | GetEntity () |
Public 成员函数 继承自 Element | |
ClassId | GetClassId () |
ObjectId | GetId () |
long | GetUserId () |
boolean | SetUserId (long val) |
String | GetName () |
boolean | SetName (String val) |
String | GetSchemaName () |
boolean | SetSchemaName (String val) |
long | GetUserFlags () |
void | SetUserFlags (long val) |
void | MakeUniqueName (String base) |
void | MakeUniqueName () |
void | RequestUpdate () |
void | ListParameters (ParameterDict parameters) |
boolean | SetParameter (ParameterDict parameters, String key) |
Public 成员函数 继承自 AObject | |
ClassId | GetClassId () |
boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
static ClassId | GetStaticClassId () |
static StreamComponent | Cast (AObject obj) |
static StreamComponent | Create (Document pDoc, ObjectId entityId) |
static ClassId | GetStaticClassId () |
static Component | Cast (AObject obj) |
static ClassId | GetStaticClassId () |
static Element | Cast (AObject obj) |
static ClassId | GetStaticClassId () |
<>
用于保存较大的数据流,如文件。
|
static |
重载 Component .
void StreamComponent.SetData | ( | ArrayBuffer | data | ) |
设置数据流
data | 数据内容 |