Method ExportActiveObjectHighlightImage
ExportActiveObjectHighlightImage(string, int, int)
Exports an image of the scene's active object. This image is not intended to provide a realistic representation of the current object. Instead of that, thanks to images superposition operation, it can be used to highlight active object on other image by adding this image on top of another.
Declaration
public void ExportActiveObjectHighlightImage(string filename, int imageWidth, int imageHeight)
Parameters
Type | Name | Description |
---|---|---|
string | filename | Filename of the file to create. The exported image format is determined from the extension given in this filename. |
int | imageWidth | Width of the image to create. Normally, the image size should be the same as size of the image representing the current view. |
int | imageHeight | Height of the image to create. |
Remarks
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.