MapMatrix NetGIS Class Library

TextElement.SetLocationMiddle Method 

Sets this elements properties for display along the specified line. The X, Y, and RotationAngle properties are set with this method.

public void SetLocationMiddle(
   double x1,
   double y1,
   double x2,
   double y2
);

Parameters

x1
First X coordinate of line used to calculate the TextElement Properties.
y1
First Y coordinate of line used to calculate the TextElement Properties.
x2
Second X coordinate of line used to calculate the TextElement Properties.
y2
Second Y coordinate of line used to calculate the TextElement Properties.

See Also

TextElement Class | MapMatrix.Features.GisElements Namespace