# Aspose.Slides tarafından .NET PowerPoint API aracılığıyla Node.js

> Aspose.Slides for Node.js via .NET, Node.js'de PowerPoint sunumları oluşturmanıza, değiştirmenize ve dönüştürmenize olanak tanıyan bir Node.js PowerPoint API'sidir.

Source: https://products.aspose.com/slides/tr/nodejs-net/
Updated: 2026-08-11



<p><strong>Aspose.Slides for Node.js via .NET</strong>, Node.js'de PowerPoint sunumları oluşturmanıza, değiştirmenize ve dönüştürmenize olanak tanıyan bir Node.js kitaplığıdır. Slaytlar, şekiller, metinler, grafikler, tablolar, resimler ve daha fazlası gibi tüm sunum öğelerini destekler. Ayrıca birleştirme, klonlama, bölme, karşılaştırma ve sunumları yazdırma gibi birçok gelişmiş özellik sunar. Hiçbir bağımlılık olmadan çalışır ve kısa sürede binlerce sunumu işleyebilir.</p>

<p><strong>.NET aracılığıyla Aspose.Slides for Node.js</strong> şu popüler özellikleri sağlar:</p>
<ul>
    <li>Sunuları yükleme, açma ve görüntüleme.</li>
    <li>Sunumları düzenlemek.</li>
    <li>Sunum dosyalarını PPT, PPTX ve ODP gibi popüler sunum formatlarına dönüştürme.</li>
    <li>Sunumları PDF, JPG, HTML, GIF, SVG ve diğer birçok formatta dışa aktarma.</li>
    <li>Sunumların oluşturulması ve yazdırılması.</li>
    <li>Sunumların şifrelenmesi ve şifresinin çözülmesi; sunumları parolayla koruma ve parolaları kaldırma.</li>
    <li>Ana slaytlar, şekiller, grafikler, resim çerçeveleri, ses çerçeveleri, video çerçeveleri, OLE, VBA makroları, animasyonlar vb. gibi sunum varlıklarını değiştirme.</li>
    <li>Ve daha birçok özellik.</li>
</ul>

<p>Node.js, geliştiricilerin tarayıcı dışında komut satırı araçları ve sunucu tarafı komut dosyaları yazmasına olanak tanıyan popüler, ücretsiz, açık kaynaklı ve platformlar arası bir JavaScript çalışma zamanı ortamıdır. Bu nedenle <strong>Aspose.Slides</strong> ekibi, Node.js topluluğuna <strong>Aspose.Slides for Node.js</strong>'yi .NET aracılığıyla sunmaktan gurur duyuyor.</p>

<div class="container-fluid features-section bg-gray singleproduct">
 <a class="anchor" id="features" name="features">
 </a>
 <div class="row">
  <div class="container">
   <h2 class="pr-ft">Gelişmiş Node.js PowerPoint API Özellikleri</h2>
   <p>
   </p>
   <div class="col-lg-4">
    <em class="fa fa-copy ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">Şablonlardan mevcut slaytları oluşturun veya kopyalayın</p>
   </div>
   <div class = "col-lg-4">
    <em class="fa fa-table ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">API aracılığıyla PowerPoint tablolarıyla taşınabilir</p>
   </div>
   <div sınıfı = "col-lg-4">
    <em class="fa fa-shield ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">Şekillere korumayı genişletme veya korumayı bölme</p>
   </div>
   <div sınıfı = "col-lg-4">
    <em class="fa fa-bar-chart ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">Excel grafiklerini resimlere OleObjects olarak ekleme</p>
   </div>
   <div sınıfı = "col-lg-4">
    <em class="fa fa-image ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     Slaytlardaki oluşturma ve eklememe metin ekleme
    </p>
   </div>
   <div sınıfı = "col-lg-4">
    <em class="fa fa-align-left ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     Metin ve şekil biçimlendirmesini yönetme
    </p>
   </div>
   <div sınıfı = "col-lg-4">
    <em class="fa fa-database ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">Veritabanından sunumların bileşimi</p>
   </div>
   <div sınıfı = "col-lg-4">
    <em class="fa fa-lock ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">Sunumları ve elde edilen PDF'lere izinleri</p>
   </div>
   <div sınıfı = "col-lg-4">
    <em class="fa fa-print ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">Sunuları fiziksel bir yazıcıda yazdırma</p>
   </div>
   <div sınıfı = "col-lg-12">
    <h2 class="h2title">Sistem Gereksinimleri</h2>
    <ul>
      <li>Aspose.Slides for Node.js via .NET, Node.js tabanlı sunucu tarafı JavaScript API'sidir. .NET6 ve üzeri Windows, Unix/Linux & Mac platformlarında çalışabilir.</li>
    </ul>
   </div>
   <div class="col-lg-12">
    <h2 class="h2title">Nasıl kurulur</h2>
    <p>Sunum işlemeye yönelik Node.js kitaplığımızı <a href="https://www.npmjs.com/package/aspose.slides.via.net">NPM Paketi deposundan yüklemek için <strong>NPM</strong>'yi kullanın. :</a></p>
    <pre><code>npm install aspose.slides.via.net</code></pre>
   </div>
    <div class="col-lg-12">
        <h2 class="h2title">Node.js'de Yeni PowerPoint Sunumu Nasıl Oluşturulur</h2>
        <p>Aşağıda verilen örnekte sunumun ilk slaytına bir dikdörtgen ekledik.</p>
        <pre>
            <code class="JavaScript">
const asposeSlides = require('aspose.slides.via.net');

const { Presentation, SaveFormat, ShapeType } = asposeSlides;

var pres = new Presentation();
try
{
    var slide = pres.slides.get(0);
    slide.shapes.addAutoShape(ShapeType.Rectangle, 50, 150, 300, 200);

    pres.save("pres.pptx", SaveFormat.Pptx);
}
finally
{
    if (pres != null) pres.dispose();
}
            </code>
        </pre>
    </div>

    <div class="col-lg-12">
        <h2 class="h2title">Node.js'de Slayt Ekleme/Kaldırma/Klonlama ve Şekil Özelliklerini Düzenleme</h2>
        <p>Bu Node.js kodu, çeşitli özellikleri nasıl düzenleyeceğinizi ve slaytları nasıl kopyalayacağınızı gösterir:</p>
        <pre>
            <code class="JavaScript">
const asposeSlides = require('aspose.slides.via.net');

const { Presentation, BackgroundType, FillType, ImageFormat } = asposeSlides;

var pres = new Presentation();
try
{
    // Add an empty slide to the presentation
    pres.slides.addEmptySlide(pres.layoutSlides.get(0));

    // Create another presentation and add its clone into the pres
    var pres2 = new Presentation();
    pres.slides.addClone(pres2.slides.get(0));

    // Access and modify properties of the first slide in pres
    var slide = pres.slides.get(0); // Get the first slide
    var slideNumber = slide.slideNumber; // Get slide number
    var hidden = slide.hidden; // Check if the slide is hidden

    // Set the background of the first slide
    slide.background.type = BackgroundType.OwnBackground; // Set background type
    slide.background.fillFormat.fillType = FillType.Solid; // Set fill type to solid
    slide.background.fillFormat.solidFillColor.color = "#AEC025F4"; // Set a solid fill color
}
finally
{
    if (pres != null) pres.dispose();
}
            </code>
        </pre>
    </div>

    <div class="col-lg-12">
        <h2 class="h2title">Node.js'de PowerPoint'i PDF'ye Dönüştürme</h2>
        <p>Bu Node.js kodu, PowerPoint'in PDF belgesine nasıl dönüştürüleceğini gösterir</p>
        <pre>
            <code class="JavaScript">
const asposeSlides = require('aspose.slides.via.net');

const { Presentation, SaveFormat } = asposeSlides;

var pres = new Presentation("pres.pptx");
try
{
    pres.save("pres.pdf", SaveFormat.Pdf);
}
finally
{
    if (pres != null) pres.dispose();
}
            </code>
        </pre>
    </div>

    <div class="col-lg-12">
        <h2 class="h2title">Node.js'de PowerPoint'i GIF'e Dönüştürme</h2>
        <p>Bu Node.js kodu, PowerPoint'in GIF görüntüsüne nasıl dönüştürüleceğini gösterir</p>
        <pre>
            <code class="JavaScript">
const asposeSlides = require('aspose.slides.via.net');

const { Presentation, SaveFormat } = asposeSlides;

var pres = new Presentation("pres.pptx");
try
{
    pres.save("pres.gif", SaveFormat.Gif);
}
finally
{
    if (pres != null) pres.dispose();
}
            </code>
        </pre>
    </div>

    <div class="col-lg-12">
        <h2 class="h2title">Node.js'de PowerPoint'i HTML'ye Dönüştürme</h2>
        <p>Bu Node.js kodu, PowerPoint'in HTML belgesine nasıl dönüştürüleceğini gösterir</p>
        <pre>
            <code class="JavaScript">
const asposeSlides = require('aspose.slides.via.net');

const { Presentation, SaveFormat } = asposeSlides;

var pres = new Presentation("pres.pptx");
try
{
    pres.save("pres.html", SaveFormat.Html);
}
finally
{
    if (pres != null) pres.dispose();
}
            </code>
        </pre>
    </div>

    <div class="col-lg-12">
        <h2 class="h2title">Node.js'de PowerPoint'i ODP'ye Dönüştürme</h2>
        <p>Bu Node.js kodu, PowerPoint'in ODP belgesine nasıl dönüştürüleceğini gösterir</p>
        <pre>
            <code class="JavaScript">
const asposeSlides = require('aspose.slides.via.net');

const { Presentation, SaveFormat } = asposeSlides;

var pres = new Presentation("pres.pptx");
try
{
    pres.save("pres.odp", SaveFormat.Odp);
}
finally
{
    if (pres != null) pres.dispose();
}
            </code>
        </pre>
    </div>

    <div class="col-lg-12">
        <h2 class="h2title">Node.js'de Sunumlar Nasıl Birleştirilir?</h2>
        <p>Bu Node.js kodu size sunumları nasıl birleştireceğinizi gösterir:</p>
        <pre>
            <code class="JavaScript">
const asposeSlides = require('aspose.slides.via.net');

const { Presentation, SaveFormat } = asposeSlides;

var pres1 = new Presentation("pres1.pptx");
var pres2 = new Presentation("pres2.pptx");
try
{
    for (var i = 0; i < pres2.slides.length; i++)
    {
        pres1.slides.addClone(pres2.slides.get(i));
    }

    pres1.save("combinedPresentation.pptx", SaveFormat.Pptx);
}
finally
{
    if (pres1 != null) pres1.dispose();
    if (pres2 != null) pres2.dispose();
}
            </code>
        </pre>
    </div>

    <div class="col-lg-12">
        <h2 class="h2title">PowerPoint Sunumunun Çeşitli Özellikleri Nasıl Alınır? </h2>
        <p>Aşağıdaki örnek, bir PowerPoint sunumunun çeşitli özelliklerinin nasıl alınacağını gösterir.</p>
        <pre>
            <code class="JavaScript">
const asposeSlides = require('aspose.slides.via.net');

const { Presentation } = asposeSlides;

var pres = new Presentation("pres.pptx");
try
{
    // Retrieve various properties of the presentation
    var countSlides = pres.slides.count; // Total number of slides
    var countMastersSlides = pres.masters.count; // Total number of master slides
    var countLayoutSlides = pres.layoutSlides.count; // Total number of layout slides
    var firstSlideNumber = pres.firstSlideNumber; // Number of the first slide
    var lastView = pres.viewProperties.lastView; // Last view type of the presentation
    var masterThemeName = pres.masterTheme.name; // Name of the master theme
    var sourceFormat = pres.sourceFormat; // Format of the source presentation
    var countVideos = pres.videos.count; // Total number of videos in the presentation
    var countImages = pres.images.count; // Total number of images in the presentation

    // Retrieve objects for further manipulation or information extraction
    var slideObject = pres.slides.get(0); // Object of the first slide
    var mastersSlideObject = pres.masters.get(0); // Object of the first master slide

    // Log the total number of slides to the console
    console.log("countSlides:" + countSlides);
    console.log("countMastersSlides:" + countMastersSlides);
    console.log("countLayoutSlides:" + countLayoutSlides);
    console.log("firstSlideNumber:" + firstSlideNumber);
    console.log("lastView=" + lastView);
    console.log("masterThemeName:" + masterThemeName);
    console.log("sourceFormat:" + sourceFormat);
    console.log("countVideos:" + countVideos);
    console.log("countImages:" + countImages);
}
finally
{
    if (pres != null) pres.dispose();
}
            </code>
        </pre>
    </div>
  </div>
 </div>
</div>
