StatLight.Core.Configuration.InputOptions.SetWindowGeometry C# (CSharp) Method

SetWindowGeometry() public method

public SetWindowGeometry ( WindowGeometry windowGeometry ) : InputOptions
windowGeometry WindowGeometry
return InputOptions
        public InputOptions SetWindowGeometry(WindowGeometry windowGeometry)
        {
            if (windowGeometry == null) throw new ArgumentNullException("windowGeometry");
            if (windowGeometry.ShouldShowWindow && !Environment.UserInteractive)
                throw new StatLightException("You cannot use the -b option as your C.I. server's agent process is not running in desktop interactive mode.");

            WindowGeometry = windowGeometry;
            return this;
        }