Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_MONITOR_ATTRIBUTES.Clone C# (CSharp) Method

Clone() public method

public Clone ( ) : TS_MONITOR_ATTRIBUTES
return TS_MONITOR_ATTRIBUTES
        public TS_MONITOR_ATTRIBUTES Clone()
        {
            TS_MONITOR_ATTRIBUTES attribute = new TS_MONITOR_ATTRIBUTES();

            attribute.physicalWidth = physicalWidth;
            attribute.physicalHeight = physicalHeight;
            attribute.orientation = orientation;
            attribute.desktopScaleFactor = desktopScaleFactor;
            attribute.deviceScaleFactor = deviceScaleFactor;

            return attribute;
        }
TS_MONITOR_ATTRIBUTES