ParameterRefs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Print / Reach / PrintConfig / ParameterRefs.cs / 1 / ParameterRefs.cs

                            /*++ 

Copyright (C) 2003 Microsoft Corporation
All rights reserved.
 
Module Name:
 
    ParameterRef.cs 

Abstract: 

    Definition and implementation of this public feature/parameter related types.

Author: 

    [....] ([....]) 7/23/2003 
 
--*/
 
using System;
using System.IO;
using System.Collections;
using System.Diagnostics; 

using MS.Internal.Printing.Configuration; 
 
namespace MS.Internal.Printing.Configuration
{ 
    /// 
    /// Custom scaling ScaleWidth capability.
    /// 
    internal sealed class ScalingScaleWidthCapability : NonNegativeIntParameterDefinition 
    {
        #region Constructors 
 
        internal ScalingScaleWidthCapability() : base()
        { 
        }

        #endregion Constructors
 
        #region Internal Methods
 
        internal static ParameterDefinition NewParamDefCallback(InternalPrintCapabilities printCap) 
        {
            ScalingScaleWidthCapability cap = new ScalingScaleWidthCapability(); 

            return cap;
        }
 
        #endregion Internal Methods
    } 
 
    /// 
    /// Custom scaling ScaleHeight capability. 
    /// 
    internal sealed class ScalingScaleHeightCapability : NonNegativeIntParameterDefinition
    {
        #region Constructors 

        internal ScalingScaleHeightCapability() : base() 
        { 
        }
 
        #endregion Constructors

        #region Internal Methods
 
        internal static ParameterDefinition NewParamDefCallback(InternalPrintCapabilities printCap)
        { 
            ScalingScaleHeightCapability cap = new ScalingScaleHeightCapability(); 

            return cap; 
        }

        #endregion Internal Methods
    } 

    ///  
    /// Custom square scaling Scale capability. 
    /// 
    internal sealed class ScalingSquareScaleCapability : NonNegativeIntParameterDefinition 
    {
        #region Constructors

        internal ScalingSquareScaleCapability() : base() 
        {
        } 
 
        #endregion Constructors
 
        #region Internal Methods

        internal static ParameterDefinition NewParamDefCallback(InternalPrintCapabilities printCap)
        { 
            ScalingSquareScaleCapability cap = new ScalingSquareScaleCapability();
 
            return cap; 
        }
 
        #endregion Internal Methods
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK