KitchenDraw SDK 2
Show / Hide Table of Contents

Method ExportResourceFromName

ExportResourceFromName(string, bool)

Exports a resource which has a given filename.

Declaration
public void ExportResourceFromName(string resourceFilename, bool ifNewerOnly = false)
Parameters
Type Name Description
string resourceFilename

Filename of the file to create. The resource name is determined as this filename without a path.

bool ifNewerOnly

Indicates whether the export should be skipped if the file already exists and it is newer than the resource in the catalog.

Remarks

See ExportResource(int, string) for details.

ExportResourceFromName(string, string, bool)

Exports a resource which has a given name.

Declaration
public void ExportResourceFromName(string resourceName, string outputFilename, bool ifNewerOnly = false)
Parameters
Type Name Description
string resourceName
string outputFilename
bool ifNewerOnly

Indicates whether the export should be skipped if the file already exists and it is newer than the resource in the catalog.

Remarks

See ExportResource(int, string) for details.

In this article
Back to top Generated by DocFX