.NET Framework Class Library
NeutralFormat.MDAddImage Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > NeutralFormat Class > NeutralFormat Methods > .NET Framework Class Library |
Add an image to the Master Drawing identified with the handler MDid
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub MDAddImage ( _ mdid As Integer, _ |
C# |
|---|
public void MDAddImage( int mdid, |
Visual C++ |
|---|
public: void MDAddImage( |
JavaScript |
|---|
function mdAddImage(mdid, x, y, width, height, imgFileName, transparent); |
Parameters
mdid
Type: System.Int32
Master Drawing handler
x
Type: System.Double
point (in millimeters) on the x axe where the image will be added
y
Type: System.Double
point (in millimeters) on the y axe where the image will be added
width
Type: System.Double
width (in millimeters) of the image to be placed
height
Type: System.Double
height (in millimeters) of the image to be placed
imgFileName
Type: System.String
full path name of the image file to be added; .BMP .JPG .PNG are supported
transparent
Type: System.Boolean
false: opaque
true: transparent, and will make transparent the color WHITE (RGB(255,255,255)).
NOTE: This parameter is effective with TIF format only
See Also