MDAddImage

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > NeutralFormat >

MDAddImage

available from build: 20040603

Description

Add an image to the Master Drawing identified with the handler MDid

Syntax

call DBWShell("MDAddImage MDid x y width height imgFileName transparent")

Parameters

MDid

Master Drawing handler

x

point (in millimeters) on the x axe where the image will be added

y

point (in millimeters) on the y axe where the image will be added

width

width (in millimeters) of the image to be placed

height

height (in millimeters) of the image to be placed

imgFileName

full path name of the image file to be added; .BMP .JPG .PNG are supported

transparent

0: opaque
1: transparent, and will make transparent the color WHITE ( RGB(255,255,255) ).

This parameter is effective with TIF format only