70002619 Offset polyline to keep inline vertexes

Article 70002619
Type Wish
Product Engine
Version 1102
Date Added 1/17/2025 12:00:00 AM
Fixed 11.3.5.0 (1/17/2025 12:00:00 AM)
Submitted by Damian Nowosinski

Summary

Offset polyline to keep inline vertexes

Solution

A new static property VectorDraw.Geometry.Offset.OffsetStatic.OffsetFlags was added in version 11.3.5
Get / Set flags that affect the offset command
It can get one or more of the following values
OffsetFlag.None = 0 , // No extra flags are applied to offset command
OffsetFlag.TryKeepInLinePoints = 1,// Try to keep vertex points that are inside the same line between previous and next vertex
Default value is OffsetFlag.TryKeepInLinePoints

Example
set in your application initialize:
VectorDraw.Geometry.Offset.OffsetStatic.OffsetFlags = OffsetFlag.TryKeepInLinePoints;
in order to keep the inline vertexes

Send comments on this topic.