Prod.: Engine, ver.: 6013, ID: 60000279, Wish : Ruler example in Csharp vdframed control

Wish : Ruler example in Csharp vdframed control

Article60000279
TypeWish
ProductEngine
Version6013
Date Added10/23/2007
FixedYes [9/10/2008]
Submitted byGiorspyros Vissarion & Mario Perino
Keywords

Subject

Ruler example in Csharp vdframed control

Summary

Ruler example in C# vdframed control

Solution


In version 6014 a new vdRuler object was added in vdScrollableControl.

To enable the ruler in the VDFramed control use a code like vdFramedControl1.ScrollableControl.RulerObject.Visible = true;

Also new properties was added in vdraw.ocx Wrapper component:

RulerIsVisible as boolean

RulerIsInMillimeters  as boolean

RulerIsModelInPrinterPaper as boolean

RulerBackColor as String in format (Red,Green,Blue)