Beispiel #1
0
        public void WriteHeader(DL_Writer dw)
        {
            dw.Comment(string.Concat("dxflib ", DL_Codes.DL_VERSION));
            dw.SectionHeader();

            dw.DxfString(9, "$ACADVER");
            switch (_version)
            {
            case DL_Codes.dxfversion.AC1009:
                dw.DxfString(1, "AC1009");
                break;

            case DL_Codes.dxfversion.AC1012:
                dw.DxfString(1, "AC1012");
                break;

            case DL_Codes.dxfversion.AC1014:
                dw.DxfString(1, "AC1014");
                break;

            case DL_Codes.dxfversion.AC1015:
                dw.DxfString(1, "AC1015");
                break;

            case DL_Codes.dxfversion.AC1027:
                dw.DxfString(1, "AC1027");
                break;

            default:
                break;
            }
        }