3D sahnelerini ve içeriğini PDF 'dan içe aktarın

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 kod örneğinde gösterildiği gibi PdfLoadOptions sınıfını kullanarak korunan 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 code example:

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

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