프로젝트

일반

사용자정보

개정판 fcc0783d

IDfcc0783dceea1381ecccae6e1807ffc99e4eadde
상위 7278d3e3
하위 7fe2c05a, 66ddb055, bb2a0c79, fd44bc6d

Gyusu 이(가) 6년 이상 전에 추가함

Update

차이점 보기:

DTI_PID/PDF_TO_IMAGE/ConvertImage.cs
55 55
            string sPathNonExtension = FilePath.Replace(Path.GetExtension(FilePath), "");
56 56

  
57 57

  
58

  
58
            pdftron.PDFNet.Initialize("daelim.co.kr(Doftech Corp):CPU:2::W:AMC(20120315):EF6E886F25A414FFB5F8C1F2999CF2DA33DC6C5164315BAF7011B87AF0FA");
59 59
            using (PDFDoc doc = new PDFDoc(FilePath))
60 60
            {
61
                //    pdftron.PDFNet.Initialize("daelim.co.kr(Doftech Corp):CPU:2::W:AMC(20120315):EF6E886F25A414FFB5F8C1F2999CF2DA33DC6C5164315BAF7011B87AF0FA");
62 61
                Bitmap newBmp_;
63 62
                ImageCodecInfo DefaultImageCodecInfo = GetEncoderInfo("image/png");
64 63
                EncoderParameters DefaultEncoderParameters = new EncoderParameters(2);
......
107 106
                                string pagePath = sPathNonExtension;
108 107
                                if (i > 1)
109 108
                                {
110
                                    pagePath = sPathNonExtension + "\\" + i;
109
                                    pagePath = sPathNonExtension + "_" + i;
111 110
                                }
112 111
                                newBmp_.Save(pagePath + "_" + fDpix +".png");
113 112
                                newBmp_.Dispose();
......
121 120
                        return false;
122 121
                    }
123 122
                }
124
                #endregion
125
                return true;
123
                if(doc.GetPageCount() > 0)
124
                {
125
                    MessageBox.Show("변환완료");
126
                }
127

  
128
                    #endregion
129
                    return true;
126 130
            }
127 131
        }
128 132

  
DTI_PID/PDF_TO_IMAGE/PDF_TO_IMAGE.csproj
39 39
    <OutputPath>bin\x64\Debug\</OutputPath>
40 40
    <DefineConstants>DEBUG;TRACE</DefineConstants>
41 41
    <DebugType>full</DebugType>
42
    <PlatformTarget>x64</PlatformTarget>
42
    <PlatformTarget>x86</PlatformTarget>
43 43
    <ErrorReport>prompt</ErrorReport>
44 44
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
45 45
  </PropertyGroup>
......
58 58
    <Reference Include="DevExpress.Sparkline.v18.1.Core, Version=18.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
59 59
    <Reference Include="DevExpress.Utils.v18.1, Version=18.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
60 60
    <Reference Include="DevExpress.XtraEditors.v18.1, Version=18.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
61
    <Reference Include="PDFNet, Version=5.8.0.0, Culture=neutral, PublicKeyToken=36167be3f67ac39c, processorArchitecture=AMD64">
61
    <Reference Include="PDFNet, Version=5.8.0.0, Culture=neutral, PublicKeyToken=36167be3f67ac39c, processorArchitecture=x86">
62 62
      <SpecificVersion>False</SpecificVersion>
63
      <HintPath>..\SPPIDConverter\bin\Debug\PDFNet.dll</HintPath>
63
      <HintPath>.\PDFNet.dll</HintPath>
64 64
    </Reference>
65 65
    <Reference Include="System" />
66 66
    <Reference Include="System.ComponentModel.DataAnnotations" />

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)