[]
        
立即下载
(Showing Draft Content)

GrapeCity.Forguncy.Plugin.IStyleTemplate

接口 IStyleTemplate

在将 CellType 导出或导入至预置模板时,系统将调用此接口,用于处理插件自身所需额外保存的文件数据。

命名空间: GrapeCity.Forguncy.Plugin
程序集: GrapeCity.Forguncy.Plugin.dll
语法
public interface IStyleTemplate

方法

Export(IStyleTemplateContext)

导出为预置模版的时候,插件可以保存自定义文件

声明
void Export(IStyleTemplateContext context)
参数
类型 名称 描述
IStyleTemplateContext context

GetImageValues()

获取插件在预置模版中需要保存的图片资源

声明
List<ImageValue> GetImageValues()
返回值
类型 描述
System.Collections.Generic.List<T><ImageValue>

Import(IStyleTemplateContext)

导入预置模版的时候,插件可以读取自定义文件

声明
void Import(IStyleTemplateContext context)
参数
类型 名称 描述
IStyleTemplateContext context