Prod.: Engine, ver.: 6, ID: 60001074, HowTo : How to call the magnifier transparently through a command by a keyboard key and the point to be passed to the active command

HowTo : How to call the magnifier transparently through a command by a keyboard key and the point to be passed to the active command

Article60001074
TypeHowTo
ProductEngine
Version6
Date Added2/5/2010
Submitted byMakaroynhs
Keywords

Subject

How to call the magnifier transparently through a command by a keyboard key and the point to be passed to the active command

Summary

How to call the magnifier transparently through a command by a keyboard key and the point to be passed to the active command

Solution

You can use a code like :

private void Form1_Load(object sender, EventArgs e)

{

vdFramedControl.BaseControl.KeyDown += new KeyEventHandler(BaseControl_KeyDown);

}

 

void BaseControl_KeyDown(object sender, KeyEventArgs e)

{

if (e.KeyCode == Keys.ControlKey) doc.ActionUtility.StartUserMagnifier(doc, 3, 210, -100);

}

Note this applies to version 6016 and greater.