ImageGear Professional for Windows ActiveX
CreateLine Method

Description:

Creates Line annotation with specified properties.

Syntax:

      CreateLine(
StartPoint As IGPoint, 
EndPoint As IGPoint, 
Border As IGArtXBorder, 
Opacity As Long, 
HeadFillColor As IGPixel, 
StartHead As IGArtXArrowHead, 
EndHead As IGArtXArrowHead) As IGArtXLine

Parameters:

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.

Return Value:

New instance of IGArtXLine Object.

Bits Per Pixel:

N/A

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback