CF2 도면
Contents
[
Hide
]CF2를 PDF로 변환하기
Aspose.CAD for .NET은 이제 일반 파일 형식 파일(CF2)을 지원합니다. CF2 파일은 3D 패키지 디자인 또는 기타 모델 데이터를 포함합니다. 이 문서에서는 CF2 파일을 PDF로 변환하는 방법을 보여줍니다 PdfOptions를 사용하여.
샘플 코드
다음 코드 스니펫을 사용하여 CF2를 PDF로 변환하십시오.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The path to the documents directory. | |
string MyDir = RunExamples.GetDataDir_ConvertingCFF(); | |
using (Image image = Image.Load(MyDir + "WineBottle_Die.cf2")) | |
{ | |
var options = new PdfOptions(); | |
image.Save(MyDir + "WineBottle_Die_out.pdf",options); | |
} | |