ImageGear Professional v18.2 > API Reference Guide > ARTX Component API Reference > ARTX Component Objects > IGArtXCtl Control > IGArtXCtrl Methods > CreateLine Method |
Creates Line annotation with specified properties.
CreateLine(
StartPoint As IGPoint,
EndPoint As IGPoint,
Border As IGArtXBorder,
Opacity As Long,
HeadFillColor As IGPixel,
StartHead As IGArtXArrowHead,
EndHead As IGArtXArrowHead) As IGArtXLine
Name | Description |
---|---|
StartPoint | Coordinates of the start point. |
EndPoint | Coordinates of the end point. |
Border | Contains line properties of the annotation, such as line style, line width, color. See IGArtXBorder Object for more information. |
Opacity | Opacity value for the annotation. |
HeadFillColor | Pixel object that contains color that entire area of the arrow heads will be filled with. |
StartHead | Contains start arrow head properties. See IGArtXArrowHead Object for more information. |
EndHead | Contains end arrow head properties. See IGArtXArrowHead Object for more information. |
New instance of IGArtXLine Object.
N/A