.NET Framework Class Library
NeutralFormat.MDAddLine Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > NeutralFormat Class > NeutralFormat Methods > .NET Framework Class Library |
Add a line 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 MDAddLine ( _ mdid As Integer, _ |
C# |
|---|
public void MDAddLine( int mdid, |
Visual C++ |
|---|
public: void MDAddLine( |
JavaScript |
|---|
function mdAddLine(mdid, x0, y0, x1, y1, width, style, rgbColor); |
Parameters
mdid
Type: System.Int32
Master Drawing handler
x0
Type: System.Double
X coordinate of the start point of the line (in millimeters)
y0
Type: System.Double
Y coordinate of the start point of the line (in millimeters)
x1
Type: System.Double
X coordinate of the end point of the line (in millimeters)
y1
Type: System.Double
Y coordinate of the end point of the line (in millimeters)
width
Type: System.String
line width (in pixels). to specify the width in millimeters add "mm" after the value
style
Type: System.Int32
line style. Possible values are:
o0 = solid line
o1 = dashed line
o2 = dotted line
o3 = dash-dotted line
o4 = dash-dot-dotted line
NOTE: This parameter is effective with TIF format only
rgbColor
Type: System.Int32
line color in BGR format: an integer in the form 0xBBGGRR
See Also