Display a string

how to display a string on the viewer opencascade ?
please help me

Shing Liu's picture

Hi Jihed,

You can refer to the Draw Test Harness command: vdrawtext;
I think you can find useful info from the vdrawtext implementation:
Handle(MyTextClass) myT = new MyTextClass(name,pnt,aColor,hor_align,ver_align,angle,zoom,height,aspect,font.ToCString());

Best Regards,
Shing Liu