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

            rec.field_1_xBasis = field_1_xBasis;
            rec.field_2_yBasis = field_2_yBasis;
            rec.field_3_heightBasis = field_3_heightBasis;
            rec.field_4_scale = field_4_scale;
            rec.field_5_indexToFontTable = field_5_indexToFontTable;
            return rec;
        }
コード例 #2
0
ファイル: HSSFChart.cs プロジェクト: missxiaohuang/Weekly
 private FontBasisRecord CreateFontBasisRecord1()
 {
     FontBasisRecord r = new FontBasisRecord();
     r.XBasis = ((short)9120);
     r.YBasis = ((short)5640);
     r.HeightBasis = ((short)200);
     r.Scale = ((short)0);
     r.IndexToFontTable = ((short)5);
     return r;
 }