コード例 #1
0
ファイル: DxfOle.cs プロジェクト: 15831944/WW
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfOle dxfOle = (DxfOle)from;

            this.qualityType_0 = dxfOle.Quality;
            this.int_0         = dxfOle.OleDataVersion;
            this.int_1         = dxfOle.UnknownLong;
            this.byte_0        = dxfOle.UnknownByte1;
            this.byte_1        = dxfOle.UnknownByte2;
            this.point3D_0     = dxfOle.UpperLeft;
            this.point3D_1     = dxfOle.UpperRight;
            this.point3D_2     = dxfOle.LowerRight;
            this.point3D_3     = dxfOle.LowerLeft;
            this.short_1       = dxfOle.HimetricWidth;
            this.short_2       = dxfOle.HimetricHeight;
            this.int_2         = dxfOle.OleItemVersion;
            this.int_3         = (int)dxfOle.Model.UniqueOleItemCounter();
            this.aspect_0      = dxfOle.AdviseType;
            this.bool_2        = dxfOle.Moniker;
            this.aspect_1      = dxfOle.DrawAspect;
            this.string_0      = dxfOle.UserType;
            this.type_0        = dxfOle.OleObjectType;
            this.dxfOleXData_0 = dxfOle.dxfOleXData_0;
            this.byte_2        = dxfOle.OleData;
        }
コード例 #2
0
ファイル: DxfOle.cs プロジェクト: 15831944/WW
 public DxfOle()
 {
     this.dxfOleXData_0 = new DxfOleXData(this);
 }