KitchenDraw SDK 2
Show / Hide Table of Contents

Method ExportCatalogOutlineImage

ExportCatalogOutlineImage(string, string, HandingType, double, double, double, double, bool, string, int, int)

Exports an image corresponding to the outline of given catalog item.

Declaration
public void ExportCatalogOutlineImage(string catalogFilename, string articleReference, Scene.Object.HandingType handingType, double dimensionX, double dimensionY, double dimensionZ, double angle, bool opened, string imageFilename, int imageWidth, int imageHeight)
Parameters
Type Name Description
string catalogFilename

Filename of the catalog which contains the item.

string articleReference

The article reference of the item.

Scene.Object.HandingType handingType

Handing of the item.

double dimensionX

Width of the item, in the catalog measurement units. It can be different from the default value set in the catalog.

double dimensionY

Depth of the item, in the catalog measurement units. It can be different from the default value set in the catalog.

double dimensionZ

Height of the item. It can be different from the default value set in the catalog, in the catalog measurement units.

double angle

Rotation angle applied to the item (in degrees).

bool opened

Indicates whether the item should be exported in its open visual state.

string imageFilename

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

int imageWidth

Width of the exported image.

int imageHeight

Height of the exported image

Remarks

This image is not intended to provide a realistic representation of the article but, thanks to an images superimposition operation, to add on top of the current view the outline of the article which is being dragged.

For the .BMP format, the selection square points will be drawn white on a black background. For .GIF and .PNG formats, the points will be drawn black on atransparent background.

The reference point is located at the centre of the article outline image.

In this article
Back to top Generated by DocFX