KitchenDraw SDK 2
Show / Hide Table of Contents

Method ExportCatalogBlockImages

ExportCatalogBlockImages(string, IEnumerable<int>, HandingType, bool, ViewMode, string, int, int, string, bool, int, int)

Exports the images corresponding to the blocks of a catalog.

Declaration
public void ExportCatalogBlockImages(string catalogFilename, IEnumerable<int> blockRanks, Scene.Object.HandingType handingType, bool opened, Scene.ViewMode viewMode, string imageFilename, int imageWidth, int imageHeight, string backgroundColor = "255,255,255", bool transparent = true, int jpegQuality = 80, int antialiasing = 1)
Parameters
Type Name Description
string catalogFilename

Filename of a catalog whose blocks images will be exported.

IEnumerable<int> blockRanks

A collection of block ranks to export. First block in a catalog has rank 1.

Scene.Object.HandingType handingType

Handing of the blocks

bool opened

Indicates whether the blocks should be exported in their open visual state.

Scene.ViewMode viewMode

Specifies in which view mode the images should be generated.

string imageFilename

Filename of the file to create. The image format is determined from the filename extension.

int imageWidth
int imageHeight
string backgroundColor
bool transparent
int jpegQuality
int antialiasing
Remarks

See ExportImage(string, int, int, bool, string, int, int) for details on the rest of parameters.

The blocks adopt the generic finishes corresponding to the presentation scene associated with the catalog.

In this article
Back to top Generated by DocFX