Ejemplo n.º 1
0
		//Constructors
		public Ruler()
		{
			InitializeComponent();
			Component.Instance.GetLicense(typeof(Ruler), this);
			mFont = new Font("Microsoft Sans Serif",7.0F);
			mUnit = RulerUnit.Pixel;
			mMajor = 100;
			mMinor = 10;
			mMid = 50;
			mStart = 0;
			mZoom = 100;
			mScaleFactor = 1;
			mUnitScaleFactor = new PointF(1,1);
			mOrientation = RulerOrientation.Top;
			mBorderStyle = RulerBorderStyle.Edge;
			mDrawGuides = true;
			mGradientColor = BackColor;
		}
Ejemplo n.º 2
0
 //Constructors
 public Ruler()
 {
     InitializeComponent();
     Component.Instance.GetLicense(typeof(Ruler), this);
     mFont            = new Font("Microsoft Sans Serif", 7.0F);
     mUnit            = RulerUnit.Pixel;
     mMajor           = 100;
     mMinor           = 10;
     mMid             = 50;
     mStart           = 0;
     mZoom            = 100;
     mScaleFactor     = 1;
     mUnitScaleFactor = new PointF(1, 1);
     mOrientation     = RulerOrientation.Top;
     mBorderStyle     = RulerBorderStyle.Edge;
     mDrawGuides      = true;
     mGradientColor   = BackColor;
 }
Ejemplo n.º 3
0
        //Constructors
        public Ruler()
        {
            InitializeComponent();

            _font            = new Font("Microsoft Sans Serif", 7.0F);
            _unit            = RulerUnit.Pixel;
            _major           = 100;
            _minor           = 10;
            _mid             = 50;
            _start           = 0;
            _zoom            = 100;
            _scaleFactor     = 1;
            _unitScaleFactor = new PointF(1, 1);
            _orientation     = RulerOrientation.Top;
            _borderStyle     = RulerBorderStyle.Edge;
            _drawGuides      = true;
            _gradientColor   = BackColor;
        }