public bool ChangeDisplayMode(int x, int y, int width, int height) { CheckState(); var success = Navigator.navigator_window_cover_attribute_set_capture(handle, x, y, width, height) == BPS.BPS_SUCCESS; if (success) { mode = WindowCoverMode.Capture; } return(success); }
public bool ChangeDisplayMode(string file) { CheckState(); var success = Navigator.navigator_window_cover_attribute_set_file(handle, file) == BPS.BPS_SUCCESS; if (success) { mode = WindowCoverMode.File; } return(success); }
public bool ChangeDisplayMode(bool live) { CheckState(); var success = (live ? Navigator.navigator_window_cover_attribute_set_live(handle) : Navigator.navigator_window_cover_attribute_set_alternate_window(handle)) == BPS.BPS_SUCCESS; if (success) { mode = live ? WindowCoverMode.Live : WindowCoverMode.AlternateWindow; } return(success); }
public bool ChangeDisplayMode(int x, int y, int width, int height) { CheckState(); var success = Navigator.navigator_window_cover_attribute_set_capture(handle, x, y, width, height) == BPS.BPS_SUCCESS; if (success) { mode = WindowCoverMode.Capture; } return success; }
public bool ChangeDisplayMode(string file) { CheckState(); var success = Navigator.navigator_window_cover_attribute_set_file(handle, file) == BPS.BPS_SUCCESS; if (success) { mode = WindowCoverMode.File; } return success; }
public bool ChangeDisplayMode(bool live) { CheckState(); var success = (live ? Navigator.navigator_window_cover_attribute_set_live(handle) : Navigator.navigator_window_cover_attribute_set_alternate_window(handle)) == BPS.BPS_SUCCESS; if (success) { mode = live ? WindowCoverMode.Live : WindowCoverMode.AlternateWindow; } return success; }