Home > SCH_PrimitiveText > delete
SCH_PrimitiveText.delete() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
删除文本
Signature
typescript
delete(primitiveIds: string | ISCH_PrimitiveText | Array<string> | Array<ISCH_PrimitiveText>): boolean;
1
Parameters
Parameter | Type | Description |
---|---|---|
primitiveIds | string | ISCH_PrimitiveText | Array<string> | Array<ISCH_PrimitiveText> | 文本的图元 ID 或文本图元对象 |
Returns
boolean
删除操作是否成功