WriteData() публичный Метод

Writes data out as text.
public WriteData ( System sb, RectangleD region, bool onlyInRegion ) : void
sb System StringBuilder to write to.
region RectangleD Only write out data in this region if onlyInRegion is true.
onlyInRegion bool If true, only data in region is written, else all data is written.
Результат void
Пример #1
0
        /// <summary>
        /// Writes text data of the plot object to the supplied string builder. It is
        /// possible to specify that only data in the specified range be written.
        /// </summary>
        /// <param name="sb">the StringBuilder object to write to.</param>
        /// <param name="region">a region used if onlyInRegion is true.</param>
        /// <param name="onlyInRegion">If true, only data enclosed in the provided region will be written.</param>
        public void WriteData(StringBuilder sb, RectangleD region, bool onlyInRegion)
        {
            SequenceAdapter data_ =
                new SequenceAdapter(DataSource, DataMember, OrdinateData, AbscissaData);

            sb.Append("Label: ");
            sb.Append(Label);
            sb.Append("\r\n");
            data_.WriteData(sb, region, onlyInRegion);
        }
Пример #2
0
        /// <summary>
        /// Writes text data of the plot object to the supplied string builder. It is
        /// possible to specify that only data in the specified range be written.
        /// </summary>
        /// <param name="sb">the StringBuilder object to write to.</param>
        /// <param name="region">a region used if onlyInRegion is true.</param>
        /// <param name="onlyInRegion">If true, only data enclosed in the provided region will be written.</param>
        public void WriteData(System.Text.StringBuilder sb, RectangleD region, bool onlyInRegion)
        {
            SequenceAdapter data_ =
                new SequenceAdapter(this.DataSource, this.DataMember, this.OrdinateData, this.AbscissaData);

            sb.Append("Label: ");
            sb.Append(this.Label);
            sb.Append("\r\n");
            data_.WriteData(sb, region, onlyInRegion);
        }
        /// <summary>
        /// Writes text data of the plot object to the supplied string builder. It is 
        /// possible to specify that only data in the specified range be written.
        /// </summary>
        /// <param name="sb">the StringBuilder object to write to.</param>
        /// <param name="region">a region used if onlyInRegion is true.</param>
        /// <param name="onlyInRegion">If true, only data enclosed in the provided region will be written.</param>
        public void WriteData( System.Text.StringBuilder sb, RectangleD region, bool onlyInRegion )
        {
            SequenceAdapter data_ =
                new SequenceAdapter( this.DataSource, this.DataMember, this.OrdinateData, this.AbscissaData );

            sb.Append( "Label: " );
            sb.Append( this.Label );
            sb.Append( "\r\n" );
            data_.WriteData( sb, region, onlyInRegion );
        }
Пример #4
0
        /// <summary>
        /// Writes text data of the plot object to the supplied string builder.
        /// </summary>
        /// <param name="sb">the StringBuilder object to write to.</param>
        public void WriteData(System.Text.StringBuilder sb )
        {
            SequenceAdapter data_ =
                new SequenceAdapter(this.DataSource, this.DataMember, this.OrdinateData, this.AbscissaData);

            sb.Append("[");
            sb.Append(this.Label);
            sb.AppendLine("]");
            data_.WriteData(sb);
        }