60000312 WCS icon compatible with version 5.x

Article 60000312
Type Wish
Product Engine
Date Added 11/9/2007 12:00:00 AM
Fixed (11/12/2007 12:00:00 AM)
Submitted by Wayne Romer

Summary

 Is there a way to get the functionality of the wcs icon from v5 back.

Solution


In version 6010 the vdrawWrapper full supports the ShowWCSAxis property compatible with version 5.x


In order to define a UCSIcon in the same way with version 5.x with VectorDraw Framework you need to override the event DrawOverAll :

private void vDBaseControl_DrawOverAll(object sender, VectorDraw.Render.vdRender render, ref bool cancel)

{

vdDocument document = sender as vdDocument;

bool showOrigin = false;//show axis icon in the LowerLeft corner

bool showUserCS = false;//show axis relative to WorldCoordinateSystem

document.ActiveLayOut.DrawCCSAxis(render, true, true, true, true, Color.Red, Color.Green, Color.Blue, showUserCS, showOrigin);

cancel =true;

}

Send comments on this topic.