ImageGear for .NET
AddSegment Method
See Also  Send Feedback
ImageGear21.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEPath Class : AddSegment Method




segmentType
An ImGearPDEPathElementType value indicating the type of path to add.
point1X
X-coordinate of first point.
point1Y
Y-coordinate of first point.
point2X
X-coordinate of second point.
point2Y
Y-coordinate of second point.
point3X
X-coordinate of third point.
point3Y
Y-coordinate of third point.

Glossary Item Box

Adds a segment to a path.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

segmentType
An ImGearPDEPathElementType value indicating the type of path to add.
point1X
X-coordinate of first point.
point1Y
Y-coordinate of first point.
point2X
X-coordinate of second point.
point2Y
Y-coordinate of second point.
point3X
X-coordinate of third point.
point3Y
Y-coordinate of third point.

Remarks

The number of values used depends upon segmentType:
  • MOVE_TO: point1X, point1Y
  • LINE_TO: point1X, point1Y
  • CURVE_TO: point1X, point1Y, point2X, point2Y, point3X, point3Y
  • CURVE_TO_V: point1X, point1Y, point2X, point2Y
  • CURVE_TO_Y: point1X, point1Y, point2X, point2Y
  • RECT: point1X, point1Y, point2X (width), point2Y (height)
  • CLOSE_PATH: None

See Also

©2013. Accusoft Corporation. All Rights Reserved.