Prod.: Engine, ver.: 6009, ID: 60000312, Wish : WCS icon compatible with version 5.x

Wish : WCS icon compatible with version 5.x

Article60000312
TypeWish
ProductEngine
Version6009
Date Added11/9/2007
FixedYes [11/12/2007]
Submitted byWayne Romer
Keywords

Subject

WCS icon compatible with version 5.x

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;

}