예제 #1
0
        /**
         * Constructs a PrintSetup (SetUP) record and Sets its fields appropriately.
         * @param in the RecordInputstream to Read the record from
         */

        public PrintSetupRecord(RecordInputStream in1)
        {
            field_1_paper_size    = in1.ReadShort();
            field_2_scale         = in1.ReadShort();
            field_3_page_start    = in1.ReadShort();
            field_4_fit_width     = in1.ReadShort();
            field_5_fit_height    = in1.ReadShort();
            field_6_options       = in1.ReadShort();
            field_7_hresolution   = in1.ReadShort();
            field_8_vresolution   = in1.ReadShort();
            field_9_headermargin  = in1.ReadDouble();
            field_10_footermargin = in1.ReadDouble();
            field_11_copies       = in1.ReadShort();
        }
예제 #2
0
 /**
  * Constructs a RightMargin record and Sets its fields appropriately.     *     * @param id    id must be 0x27 or an exception     *              will be throw upon validation     * @param size  size the size of the data area of the record     * @param data  data of the record (should not contain sid/len)
  */
 public RightMarginRecord(RecordInputStream in1)
 {
     field_1_margin = in1.ReadDouble();
 }
예제 #3
0
        /**
         * Constructs a Delta record and Sets its fields appropriately.
         * @param in the RecordInputstream to Read the record from
         */

        public DeltaRecord(RecordInputStream in1)
        {
            field_1_max_change = in1.ReadDouble();
        }
예제 #4
0
        /**
         * Constructs a Number record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public NumberRecord(RecordInputStream in1) : base(in1)
        {
            field_4_value = in1.ReadDouble();
        }