Exemple #1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            PreviewImageInfo obj  = (PreviewImageInfo)obj1;
            BOutputBin       bout = (BOutputBin)bout1;
            BBufferBin       bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.documentId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.endPage);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.objectId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.previewSize);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.processDocument);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.renderAnnotations);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.renderAnnotationsData);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.renderAnnotationsOnly);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.startPage);
        }
Exemple #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin        bin = (BInputBin)bin1;
            PreviewImageInfo obj = (PreviewImageInfo)(obj1 != null ? obj1 : bin.onObjectCreated(new PreviewImageInfo()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.documentId = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.endPage = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.objectId = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.previewSize = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.processDocument = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.renderAnnotations = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.renderAnnotationsData = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.renderAnnotationsOnly = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.startPage = bbuf.getInt();

            return(obj);
        }
 public PreviewImageInfo(PreviewImageInfo rhs) : base(rhs)
 {
     this.objectIdValue              = rhs.objectIdValue;
     this.documentIdValue            = rhs.documentIdValue;
     this.startPageValue             = rhs.startPageValue;
     this.endPageValue               = rhs.endPageValue;
     this.previewSizeValue           = rhs.previewSizeValue;
     this.processDocumentValue       = rhs.processDocumentValue;
     this.renderAnnotationsValue     = rhs.renderAnnotationsValue;
     this.renderAnnotationsOnlyValue = rhs.renderAnnotationsOnlyValue;
     this.renderAnnotationsDataValue = rhs.renderAnnotationsDataValue;
 }