C# Класс CardMaker.Data.LayoutTemplateManager

Handles LayoutTemplate management
Показать файл Открыть проект

Открытые методы

Метод Описание
DeleteLayoutTemplate ( string sStartupPath, CardMaker.XML.LayoutTemplate zLayoutTemplate ) : void

Deletes the specified layout template

LoadLayoutTemplates ( string sStartupPath ) : void

Loads the template files from the specified startup path

SaveLayoutTemplate ( string sStartupPath, CardMaker.XML.LayoutTemplate zLayoutTemplate ) : bool

Saves the specified layout template

Приватные методы

Метод Описание
ReplaceNonFileSafeCharacters ( string sInput ) : string

Replaces any non file safe characters

Описание методов

DeleteLayoutTemplate() публичный Метод

Deletes the specified layout template
public DeleteLayoutTemplate ( string sStartupPath, CardMaker.XML.LayoutTemplate zLayoutTemplate ) : void
sStartupPath string The path containing the templates folder
zLayoutTemplate CardMaker.XML.LayoutTemplate The template to delete
Результат void

LoadLayoutTemplates() публичный Метод

Loads the template files from the specified startup path
public LoadLayoutTemplates ( string sStartupPath ) : void
sStartupPath string The path containing the templates folder
Результат void

SaveLayoutTemplate() публичный Метод

Saves the specified layout template
public SaveLayoutTemplate ( string sStartupPath, CardMaker.XML.LayoutTemplate zLayoutTemplate ) : bool
sStartupPath string The path containing the templates folder
zLayoutTemplate CardMaker.XML.LayoutTemplate The template to save
Результат bool