KitchenDraw SDK 2
Show / Hide Table of Contents

Method ExportModelImage

ExportModelImage(string, string, int, int, int, int)

Exports an image representing a model and its finishes defined by a given finishes config string.

Declaration
public void ExportModelImage(string finishesConfigString, string imageFilename, int imageWidth, int imageHeight, int jpegQuality = 100, int antialiasing = 1)
Parameters
Type Name Description
string finishesConfigString

Finishes config string containing model and finishes to render.

string imageFilename

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

int imageWidth

Width of the image to create, in pixels.

int imageHeight

Height of the image to create, in pixels.

int jpegQuality

The quality level of the image if the export format is JPEG. Should be in 0-100 range.

int antialiasing

Specified the antialiasing level used to reduce the stairs effect on the oblique lines. See ExportImage(string, int, int, bool, string, int, int) for the explanation.

Remarks

You can use Scene.FinishesConfig class to configure a finishes config string.

In this article
Back to top Generated by DocFX