Exemplo n.º 1
0
 /// <summary>
 ///     Creates a new DisplaySetting
 /// </summary>
 /// <param name="validSetting">The basic configuration information object</param>
 /// <param name="position">Display position on desktop</param>
 /// <param name="orientation">Display orientation and rotation</param>
 /// <param name="outputScalingMode">
 ///     Display output behavior in case of presenting a low-resolution mode on a
 ///     higher-resolution display
 /// </param>
 public DisplaySetting(DisplayPossibleSetting validSetting,
                       Point position,
                       DisplayOrientation orientation,
                       DisplayFixedOutput outputScalingMode)
     : this(
         validSetting.Resolution, position, validSetting.ColorDepth, validSetting.Frequency,
         validSetting.IsInterlaced, orientation, outputScalingMode)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Creates a new DisplaySetting
 /// </summary>
 /// <param name="validSetting">The basic configuration information object</param>
 /// <param name="position">Display position on desktop</param>
 public DisplaySetting(DisplayPossibleSetting validSetting, Point position = default)
     : this(validSetting, position, DisplayOrientation.Identity, DisplayFixedOutput.Default)
 {
 }