[]
在将 CellType 导出或导入至预置模板时,系统将调用此接口,用于处理插件自身所需额外保存的文件数据。
public interface IStyleTemplate
导出为预置模版的时候,插件可以保存自定义文件
void Export(IStyleTemplateContext context)
| 类型 | 名称 | 描述 |
|---|---|---|
| IStyleTemplateContext | context |
获取插件在预置模版中需要保存的图片资源
List<ImageValue> GetImageValues()
| 类型 | 描述 |
|---|---|
| System.Collections.Generic.List<T><ImageValue> |
导入预置模版的时候,插件可以读取自定义文件
void Import(IStyleTemplateContext context)
| 类型 | 名称 | 描述 |
|---|---|---|
| IStyleTemplateContext | context |