コード例 #1
0
        public override Object Clone()
        {
            TextRecord rec = new TextRecord();

            rec.field_1_horizontalAlignment = field_1_horizontalAlignment;
            rec.field_2_verticalAlignment   = field_2_verticalAlignment;
            rec.field_3_DisplayMode         = field_3_DisplayMode;
            rec.field_4_rgbColor            = field_4_rgbColor;
            rec.field_5_x                  = field_5_x;
            rec.field_6_y                  = field_6_y;
            rec.field_7_width              = field_7_width;
            rec.field_8_height             = field_8_height;
            rec.field_9_options1           = field_9_options1;
            rec.field_10_IndexOfColorValue = field_10_IndexOfColorValue;
            rec.field_11_options2          = field_11_options2;
            rec.field_12_textRotation      = field_12_textRotation;
            return(rec);
        }
コード例 #2
0
ファイル: HSSFChart.cs プロジェクト: Johnnyfly/source20131023
 private TextRecord CreateUnknownTextRecord()
 {
     TextRecord r = new TextRecord();
     r.HorizontalAlignment = (TextRecord.HORIZONTAL_ALIGNMENT_CENTER);
     r.VerticalAlignment = (TextRecord.VERTICAL_ALIGNMENT_CENTER);
     r.DisplayMode = (TextRecord.DISPLAY_MODE_TRANSPARENT);
     r.RgbColor = (0);
     r.X = (-37);
     r.Y = (-60);
     r.Width = (0);
     r.Height = (0);
     r.IsAutoColor = (true);
     r.ShowKey = (false);
     r.ShowValue = (false);
     r.IsVertical = (false);
     r.IsAutoGeneratedText = (true);
     r.IsGenerated = (true);
     r.IsAutoLabelDeleted = (false);
     r.IsAutoBackground=(true);
     r.Rotation=((short)0);
     r.ShowCategoryLabelAsPercentage=(false);
     r.ShowValueAsPercentage=(false);
     r.ShowBubbleSizes=(false);
     r.ShowLabel=(false);
     r.IndexOfColorValue=((short)77);
     r.DataLabelPlacement=((short)11088);
     r.TextRotation=((short)0);
     return r;
 }
コード例 #3
0
        public override Object Clone()
        {
            TextRecord rec = new TextRecord();

            rec.field_1_horizontalAlignment = field_1_horizontalAlignment;
            rec.field_2_verticalAlignment = field_2_verticalAlignment;
            rec.field_3_DisplayMode = field_3_DisplayMode;
            rec.field_4_rgbColor = field_4_rgbColor;
            rec.field_5_x = field_5_x;
            rec.field_6_y = field_6_y;
            rec.field_7_width = field_7_width;
            rec.field_8_height = field_8_height;
            rec.field_9_options1 = field_9_options1;
            rec.field_10_IndexOfColorValue = field_10_IndexOfColorValue;
            rec.field_11_options2 = field_11_options2;
            rec.field_12_textRotation = field_12_textRotation;
            return rec;
        }