Add a color DsgPrs_LengthPresentation

I want to add a color of a line and I have used the method ADD DsgPrs_LengthPresentation::Add(aPresentation,myDrawer,myText,myPnt,LastPoint, -myDir, OffsetPoint, DsgPrs_AS_LASTAR);
how can I change the color of the lin when I use this method

Thanks

ATTIA's picture

To change the color of line you use the follow line:
aPresentation->Color(aColor);