KitchenDraw SDK 2
Show / Hide Table of Contents

Method ExportPointsImage

ExportPointsImage(string, int, int)

Exports an image showing the selected objects of the current view.

Declaration
public void ExportPointsImage(string filename, int imageWidth, int imageHeight)
Parameters
Type Name Description
string filename
int imageWidth
int imageHeight
Remarks

This image is not intended to provide a realistic representation of the current view but, thanks to an images superimposition operation, to add on top of the current view the selection black squares corresponding to the selected objects.

If the.BMP format is chosen, the selection square points will be drawn with a white colour and a black background.

If the .GIF or .PNG format is chosen, the selection square points will be drawn with a black colour and a transparent background.

The imageWidth and imageHeight parameters specify the resolution of the exported image in pixels.

Normally, this image should be generated with the same resolution than the image representing the current view.

In this article
Back to top Generated by DocFX