Import 3D Scenes and Contents from a PDF in C#

Bir şifre korumalı PDF açık sahne

Scene sınıfının Open yöntemi, 3D sahnesini bir giriş PDF dosyasından yüklemeye izin verir. Geliştiriciler ayrıca bu C# kod örneğinde gösterildiği gibi PdfLoadOptions sınıfını kullanarak korumalı pdf’ler için şifre de uygulayabilir:

Tüm ham 3D içeriğini PDF ‘dan ayıklayın

The Extract method of the PdfFormat class allows to extract 3D contents from a PDF file. Developers may iterate through the contents, and save them into the separate files as shown in this C# code example:

Extract All 3D Scenes and Save them into Supported 3D Formats

PdfFormat sınıfının ExtractScene yöntemi, PDF dosyasından 3D sahnelerini çıkarmanıza izin verir. Geliştiriciler sahneler aracılığıyla yineleyebilir ve bu C# kod örneğinde gösterildiği gibi desteklenen 3D dosya formatlarında kaydedebilir: