当前位置: 首页>>代码示例>>C#>>正文


C# RecordInputStream.ReadInt方法代码示例

本文整理汇总了C#中RecordInputStream.ReadInt方法的典型用法代码示例。如果您正苦于以下问题:C# RecordInputStream.ReadInt方法的具体用法?C# RecordInputStream.ReadInt怎么用?C# RecordInputStream.ReadInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在RecordInputStream的用法示例。


在下文中一共展示了RecordInputStream.ReadInt方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: DOPERRecord

 public DOPERRecord(RecordInputStream in1)
 {
     vt=(DOPERType)in1.ReadByte();
     switch (vt)
     { 
         case DOPERType.RKNumber:
             grbitSgn = (byte)in1.ReadByte();
             _RK = new RKRecord(in1);
             in1.ReadInt();  //reserved
             break;
         case DOPERType.IEEENumber:
             grbitSgn = (byte)in1.ReadByte();
             _IEEENumber = in1.ReadDouble();
             break;          
         case DOPERType.String:
             grbitSgn = (byte)in1.ReadByte();
             in1.ReadInt();  //reserved
             CCH = (byte)in1.ReadByte();
             in1.ReadByte();     //reserved
             in1.ReadShort();    //reserved
             break;
         case DOPERType.BooleanOrErrors:
             grbitSgn = (byte)in1.ReadByte();
             fError=(byte)in1.ReadByte();
             bBoolErr=(byte)in1.ReadByte();
             in1.ReadShort();    //reserved
             in1.ReadInt();      //reserved
             break;
         default:    //FilterCondition,MatchAllBlanks,MatchNoneBlank
             grbitSgn = 0;
             in1.ReadByte();    //reserved
             in1.ReadLong();    //reserved
             break;
     }
 }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:35,代码来源:DOPER.cs

示例2: ChartRecord

        /**
         * Constructs a Chart record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public ChartRecord(RecordInputStream in1)
        {
            field_1_x = in1.ReadInt();
            field_2_y = in1.ReadInt();
            field_3_width = in1.ReadInt();
            field_4_height = in1.ReadInt();

        }
开发者ID:89sos98,项目名称:npoi,代码行数:14,代码来源:ChartRecord.cs

示例3: AxisRecord

 /**
  * Constructs a Axis record and Sets its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public AxisRecord(RecordInputStream in1)
 {
     field_1_axisType = in1.ReadShort();
     field_2_reserved1 = in1.ReadInt();
     field_3_reserved2 = in1.ReadInt();
     field_4_reserved3 = in1.ReadInt();
     field_5_reserved4 = in1.ReadInt();
 }
开发者ID:babywzazy,项目名称:Server,代码行数:13,代码来源:AxisRecord.cs

示例4: AxisParentRecord

 /**
  * Constructs a AxisParent record and s its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public AxisParentRecord(RecordInputStream in1)
 {
     field_1_axisType = in1.ReadShort();
     field_2_x = in1.ReadInt();
     field_3_y = in1.ReadInt();
     field_4_width = in1.ReadInt();
     field_5_height = in1.ReadInt();
 }
开发者ID:babywzazy,项目名称:Server,代码行数:13,代码来源:AxisParentRecord.cs

示例5: AreaFormatRecord

 /**
  * Constructs a AreaFormat record and s its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public AreaFormatRecord(RecordInputStream in1)
 {
     field_1_foregroundColor = in1.ReadInt();
     field_2_backgroundColor = in1.ReadInt();
     field_3_pattern = in1.ReadShort();
     field_4_formatFlags = in1.ReadShort();
     field_5_forecolorIndex = in1.ReadShort();
     field_6_backcolorIndex = in1.ReadShort();
 }
开发者ID:babywzazy,项目名称:Server,代码行数:14,代码来源:AreaFormatRecord.cs

示例6: MarkerFormatRecord

 public MarkerFormatRecord(RecordInputStream ris)
 {
     field_1_rgbFore = ris.ReadInt();
     field_2_rgbBack = ris.ReadInt();
     field_3_imk = ris.ReadShort();
     field_4_flag = ris.ReadShort();
     field_5_icvFore = ris.ReadShort();
     field_6_icvBack = ris.ReadShort();
     field_7_miSize = ris.ReadInt();
 }
开发者ID:hanwangkun,项目名称:npoi,代码行数:10,代码来源:MarkerFormatRecord.cs

示例7: LegendRecord

 /**
  * Constructs a Legend record and Sets its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public LegendRecord(RecordInputStream in1)
 {
     field_1_xAxisUpperLeft = in1.ReadInt();
     field_2_yAxisUpperLeft = in1.ReadInt();
     field_3_xSize = in1.ReadInt();
     field_4_ySize = in1.ReadInt();
     field_5_type = (byte)in1.ReadByte();
     field_6_spacing = (byte)in1.ReadByte();
     field_7_options = in1.ReadShort();
 }
开发者ID:babywzazy,项目名称:Server,代码行数:15,代码来源:LegendRecord.cs

示例8: LineFormatRecord

        /**
         * Constructs a LineFormat record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public LineFormatRecord(RecordInputStream in1)
        {
            field_1_lineColor = in1.ReadInt();
            field_2_linePattern = in1.ReadShort();
            field_3_weight = in1.ReadShort();
            field_4_format = in1.ReadShort();
            field_5_colourPaletteIndex = in1.ReadShort();
        }
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:14,代码来源:LineFormatRecord.cs

示例9: OfficeArtFOPTE

 public OfficeArtFOPTE(RecordInputStream ris)
 {
     Opid = new OfficeArtFOPTEOPID((ushort)ris.ReadUShort());
     Op = ris.ReadInt();
     if (Opid.IsComplex)
     {
         complexData = new byte[Op];
         for (int i = 0; i < complexData.Length; i++)
             complexData[i] = (byte)ris.ReadByte();
     }
 }
开发者ID:hanwangkun,项目名称:npoi,代码行数:11,代码来源:OfficeArtFOPTE.cs

示例10: PlotGrowthRecord

        /**
         * Constructs a PlotGrowth record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public PlotGrowthRecord(RecordInputStream in1)
        {
            field_1_horizontalScale = in1.ReadInt();
            field_2_verticalScale = in1.ReadInt();
        }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:11,代码来源:PlotGrowthRecord.cs

示例11: CrtLayout12ARecord

 public CrtLayout12ARecord(RecordInputStream ris)
 {
     frtHeader.rt = (ushort)ris.ReadUShort();
     frtHeader.grbitFrt = (ushort)ris.ReadUShort();
     ris.ReadLong();
     field_1_dwCheckSum = ris.ReadInt();
     field_2_option = ris.ReadShort();
     field_3_xTL = ris.ReadShort();
     field_4_yTL = ris.ReadShort();
     field_5_xBR = ris.ReadShort();
     field_6_yBR = ris.ReadShort();
     field_7_wXMode = ris.ReadShort();
     field_8_wYMode = ris.ReadShort();
     field_9_wWidthMode = ris.ReadShort();
     field_10_wHeightMode = ris.ReadShort();
     field_11_x = ris.ReadDouble();
     field_12_y = ris.ReadDouble();
     field_13_dx = ris.ReadDouble();
     field_14_dy = ris.ReadDouble();
     reserved2 = ris.ReadShort();
 }
开发者ID:xiepeixing,项目名称:npoi,代码行数:21,代码来源:CrtLayout12ARecord.cs

示例12: CrtLinkRecord

 public CrtLinkRecord(RecordInputStream in1)
 {
     in1.ReadInt();
     in1.ReadInt();
     in1.ReadShort();
 }
开发者ID:xiepeixing,项目名称:npoi,代码行数:6,代码来源:CrtLinkRecord.cs

示例13: CrtLayout12Record

 public CrtLayout12Record(RecordInputStream ris)
 {
     field_1_frtHeader_rt = ris.ReadShort();
     field_2_frtHeader_grbitFrt = ris.ReadShort();
     ris.ReadLong();
     field_5_dwCheckSum = ris.ReadInt();
     field_6_option = ris.ReadShort();
     field_7_wXMode = ris.ReadShort();
     field_8_wYMode = ris.ReadShort();
     field_9_wWidthMode = ris.ReadShort();
     field_10_wHeightMode = ris.ReadShort();
     field_11_x = ris.ReadDouble();
     field_12_y = ris.ReadDouble();
     field_13_dx = ris.ReadDouble();
     field_14_dy = ris.ReadDouble();
     ris.ReadShort();
 }
开发者ID:hanwangkun,项目名称:npoi,代码行数:17,代码来源:CrtLayout12Record.cs

示例14: OfficeArtRecordHeader

 public OfficeArtRecordHeader(RecordInputStream ris)
 {
     field_1_recVer_Instance = ris.ReadShort();
     field_2_recType = (ushort)ris.ReadUShort();
     field_3_recLen = ris.ReadInt();
 }
开发者ID:ctddjyds,项目名称:npoi,代码行数:6,代码来源:OfficeArtRecordHeader.cs


注:本文中的RecordInputStream.ReadInt方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。