image_import_to_active_graph_layer

 

Description

import an image to active graph layer

Syntax

bool image_import_to_active_graph_layer( LPCSTR lpcszFile, int nX = -1, int nY = -1 )

Parameters

lpcszFile
[input] the image file name
nX
[input] The left in page logical coordinate units of the image.
nY
[input] The top in page logical coordinate units of the image.

Return

Return true for success

Examples

EX1

#include <image_utils.h>
void image_import_to_active_graph_layer_ex1()
{
    string fn = GetOriginPath() + "samples\\Image Processing and Analysis\\scale.jpg";
    image_import_to_active_graph_layer(fn);
}

Remark

See Also

header to Included

image_utils.h

Reference