Hiya
On the Form class there is a method Resize
How to know if a Form is resizeable, so that Resize should work?
Thanks
private static bool CheckIfResizeable(int x, int y, Ranorex.Form form)
{
form.Resize(x,y);
if(form.ScreenRectangle.Size == new Size(x,y))
{
Report.Log(ReportLevel.Info,"Resizeable","True");
return true;
}
else
{
Report.Log(ReportLevel.Info,"Resizeable","False");
return false;
}
}Users browsing this forum: No registered users and 0 guests