For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Display a string

Jihed's picture
Forums: 

Hi,
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

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.