/// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Tools_Image));
            this.contourSeries1 = new Steema.TeeChart.Styles.Contour();
            this.pointSeries1   = new Steema.TeeChart.Styles.Points();
            this.chartImage1    = new Steema.TeeChart.Tools.ChartImage();
            this.label1         = new System.Windows.Forms.Label();
            this.hScrollBar1    = new System.Windows.Forms.HScrollBar();
            this.button1        = new System.Windows.Forms.Button();
            this.checkBox1      = new System.Windows.Forms.CheckBox();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            //
            // textBox1
            //
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(466, 63);
            this.textBox1.Text = @"The Image tool draws a picture (bitmap, jpeg, etc) behind chart Series. This can be used for GIS (Geographical) systems, using contours over images, or any other application using images as backgrounds.
The image does zoom and scroll, following the associated series and axes.";
            //
            // panel1
            //
            this.panel1.Controls.Add(this.checkBox1);
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.hScrollBar1);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Location = new System.Drawing.Point(0, 63);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(466, 41);
            //
            // tChart1
            //
            //
            // tChart1.Aspect
            //
            this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.tChart1.Aspect.View3D            = false;
            //
            // tChart1.Header
            //
            this.tChart1.Header.Lines = new string[] {
                "tChart1"
            };
            this.tChart1.Header.Visible = false;
            this.tChart1.Location       = new System.Drawing.Point(0, 104);
            this.tChart1.Name           = "tChart1";
            //
            // tChart1.Panel
            //
            //
            // tChart1.Panel.Brush
            //
            this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
            this.tChart1.Series.Add(this.contourSeries1);
            this.tChart1.Series.Add(this.pointSeries1);
            this.tChart1.Size = new System.Drawing.Size(466, 182);
            this.tChart1.Tools.Add(this.chartImage1);
            //
            // tChart1.Legend
            //
            this.tChart1.Legend.Symbol.Visible = false;
            //
            // contourSeries1
            //
            //
            // contourSeries1.Brush
            //
            this.contourSeries1.Brush.Color = System.Drawing.Color.Red;
            this.contourSeries1.ColorEach   = true;
            //
            // contourSeries1.Marks
            //
            //
            // contourSeries1.Marks.Symbol
            //
            //
            // contourSeries1.Marks.Symbol.Shadow
            //
            this.contourSeries1.Marks.Symbol.Shadow.Height  = 1;
            this.contourSeries1.Marks.Symbol.Shadow.Visible = true;
            this.contourSeries1.Marks.Symbol.Shadow.Width   = 1;
            this.contourSeries1.NumXValues  = 25;
            this.contourSeries1.NumZValues  = 25;
            this.contourSeries1.PaletteMin  = 0;
            this.contourSeries1.PaletteStep = 0;
            this.contourSeries1.Title       = "contour1";
            //
            // contourSeries1.XValues
            //
            this.contourSeries1.XValues.DataMember = "X";
            this.contourSeries1.YPosition          = 0.20290816683830415;
            //
            // contourSeries1.YValues
            //
            this.contourSeries1.YValues.DataMember = "Y";
            //
            // contourSeries1.ZValues
            //
            this.contourSeries1.ZValues.DataMember = "Z";
            //
            // pointSeries1
            //
            this.pointSeries1.ColorEach = true;
            //
            // pointSeries1.Marks
            //
            //
            // pointSeries1.Marks.Symbol
            //
            //
            // pointSeries1.Marks.Symbol.Shadow
            //
            this.pointSeries1.Marks.Symbol.Shadow.Height  = 1;
            this.pointSeries1.Marks.Symbol.Shadow.Visible = true;
            this.pointSeries1.Marks.Symbol.Shadow.Width   = 1;
            //
            // pointSeries1.Pointer
            //
            //
            // pointSeries1.Pointer.Brush
            //
            this.pointSeries1.Pointer.Brush.Color           = System.Drawing.Color.Green;
            this.pointSeries1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty;
            this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
            this.pointSeries1.Title         = "point1";
            //
            // pointSeries1.XValues
            //
            this.pointSeries1.XValues.DataMember = "X";
            this.pointSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            //
            // pointSeries1.YValues
            //
            this.pointSeries1.YValues.DataMember = "Y";
            //
            // chartImage1
            //
            this.chartImage1.Image  = ((System.Drawing.Image)(resources.GetObject("chartImage1.Image")));
            this.chartImage1.Series = this.contourSeries1;
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.Location  = new System.Drawing.Point(15, 11);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(36, 16);
            this.label1.TabIndex  = 0;
            this.label1.Text      = "&Zoom:";
            this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
            //
            // hScrollBar1
            //
            this.hScrollBar1.Location = new System.Drawing.Point(60, 9);
            this.hScrollBar1.Maximum  = 200;
            this.hScrollBar1.Minimum  = 50;
            this.hScrollBar1.Name     = "hScrollBar1";
            this.hScrollBar1.Size     = new System.Drawing.Size(113, 17);
            this.hScrollBar1.TabIndex = 1;
            this.hScrollBar1.Value    = 100;
            this.hScrollBar1.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar1_Scroll);
            //
            // button1
            //
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Location  = new System.Drawing.Point(193, 7);
            this.button1.Name      = "button1";
            this.button1.Size      = new System.Drawing.Size(95, 23);
            this.button1.TabIndex  = 2;
            this.button1.Text      = "&Edit tool...";
            this.button1.Click    += new System.EventHandler(this.button1_Click);
            //
            // checkBox1
            //
            this.checkBox1.Checked         = true;
            this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
            this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
            this.checkBox1.Location        = new System.Drawing.Point(312, 8);
            this.checkBox1.Name            = "checkBox1";
            this.checkBox1.Size            = new System.Drawing.Size(87, 21);
            this.checkBox1.TabIndex        = 3;
            this.checkBox1.Text            = "&Active";
            this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
            //
            // Tool_Image
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(466, 286);
            this.Name = "Tool_Image";
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Export_PDF));
     this.button1         = new System.Windows.Forms.Button();
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.candle1         = new Steema.TeeChart.Styles.Candle();
     this.line1           = new Steema.TeeChart.Styles.Line();
     this.button2         = new System.Windows.Forms.Button();
     this.chartImage1     = new Steema.TeeChart.Tools.ChartImage();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(480, 56);
     this.textBox1.Text = "Easy export to PDF format. Export filter generates all pdf page elements.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.button2);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Location = new System.Drawing.Point(0, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(480, 39);
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
     this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
     this.tChart1.Aspect.View3D            = false;
     //
     // tChart1.Axes
     //
     //
     // tChart1.Axes.Bottom
     //
     //
     // tChart1.Axes.Bottom.Labels
     //
     this.tChart1.Axes.Bottom.Labels.DateTimeFormat = "d.M.yyyy";
     //
     // tChart1.Axes.Bottom.Labels.Font
     //
     this.tChart1.Axes.Bottom.Labels.Font.Name = "Courier New";
     //
     // tChart1.Axes.Left
     //
     //
     // tChart1.Axes.Left.Labels
     //
     //
     // tChart1.Axes.Left.Labels.Font
     //
     this.tChart1.Axes.Left.Labels.Font.Name = "Courier New";
     this.tChart1.BackColor = System.Drawing.Color.Transparent;
     //
     // tChart1.Header
     //
     //
     // tChart1.Header.Font
     //
     this.tChart1.Header.Font.Bold = true;
     //
     // tChart1.Header.Font.Brush
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.Red;
     this.tChart1.Header.Font.Size        = 9;
     this.tChart1.Header.Lines            = new string[] {
         "PDF Export"
     };
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.Visible = false;
     this.tChart1.Location       = new System.Drawing.Point(0, 95);
     this.tChart1.Name           = "tChart1";
     //
     // tChart1.Panel
     //
     //
     // tChart1.Panel.Brush
     //
     this.tChart1.Panel.Brush.Color     = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.tChart1.Panel.Brush.ImageMode = Steema.TeeChart.Drawing.ImageMode.Normal;
     this.tChart1.Panel.ImageMode       = Steema.TeeChart.Drawing.ImageMode.Normal;
     this.tChart1.Series.Add(this.candle1);
     this.tChart1.Series.Add(this.line1);
     this.tChart1.Size = new System.Drawing.Size(480, 254);
     this.tChart1.Tools.Add(this.chartImage1);
     this.tChart1.AfterDraw += new Steema.TeeChart.PaintChartEventHandler(this.tChart1_AfterDraw);
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Location  = new System.Drawing.Point(8, 8);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(104, 23);
     this.button1.TabIndex  = 2;
     this.button1.Text      = "Save to PDF";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // candle1
     //
     //
     // candle1.Brush
     //
     this.candle1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(192)));
     this.candle1.CloseValues = this.candle1.YValues;
     this.candle1.DateValues  = this.candle1.XValues;
     //
     // candle1.Marks
     //
     //
     // candle1.Marks.Symbol
     //
     //
     // candle1.Marks.Symbol.Shadow
     //
     this.candle1.Marks.Symbol.Shadow.Height  = 1;
     this.candle1.Marks.Symbol.Shadow.Visible = true;
     this.candle1.Marks.Symbol.Shadow.Width   = 1;
     //
     // candle1.Pointer
     //
     this.candle1.Pointer.Draw3D = false;
     this.candle1.Pointer.Style  = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Title          = "candle1";
     //
     // candle1.XValues
     //
     this.candle1.XValues.DataMember = "Date";
     this.candle1.XValues.DateTime   = true;
     this.candle1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // candle1.YValues
     //
     this.candle1.YValues.DataMember = "Close";
     //
     // line1
     //
     //
     // line1.Brush
     //
     this.line1.Brush.Color   = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(0)), ((System.Byte)(192)));
     this.line1.ColorEach     = true;
     this.line1.ColorEachLine = false;
     //
     // line1.Marks
     //
     //
     // line1.Marks.Symbol
     //
     //
     // line1.Marks.Symbol.Shadow
     //
     this.line1.Marks.Symbol.Shadow.Height  = 1;
     this.line1.Marks.Symbol.Shadow.Visible = true;
     this.line1.Marks.Symbol.Shadow.Width   = 1;
     //
     // line1.Pointer
     //
     this.line1.Pointer.HorizSize = 3;
     this.line1.Pointer.Style     = Steema.TeeChart.Styles.PointerStyles.Triangle;
     this.line1.Pointer.VertSize  = 3;
     this.line1.Pointer.Visible   = true;
     this.line1.Title             = "line1";
     //
     // line1.XValues
     //
     this.line1.XValues.DataMember = "X";
     this.line1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // line1.YValues
     //
     this.line1.YValues.DataMember = "Y";
     //
     // button2
     //
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button2.Location  = new System.Drawing.Point(152, 8);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(120, 23);
     this.button2.TabIndex  = 3;
     this.button2.Text      = "Show export dialog";
     this.button2.Click    += new System.EventHandler(this.button2_Click);
     //
     // chartImage1
     //
     this.chartImage1.Image     = ((System.Drawing.Image)(resources.GetObject("chartImage1.Image")));
     this.chartImage1.ImageMode = Steema.TeeChart.Drawing.ImageMode.Center;
     //
     // Export_PDF
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(480, 349);
     this.Name = "Export_PDF";
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }