Presentation Content ile Çalışma - Aspose.Slides FOSS için Python
Aspose.Slides FOSS for Python provides classes for working with working with presentation content.
Overview
İlgili önemli sınıflar şunlardır:
Presentation
Başlatmak için
Aspose.Slides FOSS için Python yükleme:
pip install aspose-slides-fossTemel Kullanım
import aspose.slides_foss as slides
from aspose.slides_foss import ShapeType
from aspose.slides_foss.export import SaveFormat
with slides.Presentation() as prs:
slide = prs.slides[0]
shape = slide.shapes.add_auto_shape(ShapeType.RECTANGLE, 50, 50, 300, 100)
shape.add_text_frame("Aspose.Slides FOSS")
prs.save("content.pptx", SaveFormat.PPTX)İpuçları ve En İyi Uygulamalar
- Kullanımdan sonra her zaman belge nesneleri çıkarın.
- Dosya I/O istisnaları okurken veya yazarken işlemek
- kontrol et API Referansları Son imza için
API Referans Özetleri
| Class | Description |
|---|---|
Presentation | Referans dokunuşları |
Ayrıntılar için bakın, API Referansları.