सी # में ओटीपी प्रारूप मर्ज करें
सर्वर-साइड Aspose.Slides का उपयोग करके मूल और उच्च प्रदर्शन OTP दस्तावेज़ विलय, Microsoft या Open Office, Adobe PDF जैसे किसी भी सॉफ़्टवेयर के उपयोग के बिना .NET API के लिए स्लाइड।
सी # का उपयोग कर ओटीपी फ़ाइल को कैसे मर्ज करें
ओटीपी फ़ाइल को मर्ज करने के लिए, हम उपयोग करेंगे
एपीआई जो एक सुविधा संपन्न, शक्तिशाली और उपयोग में आसान दस्तावेज़ हेरफेर और सी # प्लेटफॉर्म के लिए एपीआई को मर्ज करना है। खुला
पैकेज मैनेजर, खोजें अनुमान करें।स्लाइड्स और स्थापित करें। आप पैकेज मैनेजर कंसोल से निम्न कमांड का भी उपयोग कर सकते हैं।
आज्ञा
PM> Install-Package Aspose.Slides.NET
सी#में ओटीपी फाइलों को मर्ज करने के चरण
Aspose.Slides for .NET API के साथ विलय और संयोजन करने वाला एक मूल दस्तावेज़ कोड की कुछ पंक्तियों के साथ किया जा सकता है।
सभी ओटीपी फाइलों को पूर्ण पथ के साथ लोड करें।
आधार फ़ाइल के रूप में एक दस्तावेज़ बनाएं
फ़ाइलों को एक-एक करके संयोजित और मर्ज करने के लिए प्रासंगिक विधि को कॉल करें।
सहेजें () विधि को कॉल करें और फ़ाइल नाम (पूर्ण पथ) और प्रारूप (ओटीपी) को पैरामीटर के रूप में पास करें।
अब आप Microsoft Office, Adobe PDF या किसी अन्य संगत प्रोग्राम में OTP फ़ाइल को खोल और उपयोग कर सकते हैं।
सिस्टम आवश्यकताएं
हमारे एपीआई सभी प्रमुख प्लेटफॉर्म और ऑपरेटिंग सिस्टम पर समर्थित हैं। नीचे दिए गए कोड को निष्पादित करने से पहले, कृपया सुनिश्चित करें कि आपके सिस्टम पर निम्नलिखित पूर्वापेक्षाएँ हैं।
- Microsoft Windows या .NET Framework, .NET Core, Windows Azure, Mono या Xamarin Platforms के साथ संगत OS
- माइक्रोसॉफ्ट विजुअल स्टूडियो जैसे विकास का माहौल
- आपके प्रोजेक्ट में संदर्भित .NET DLL के लिए Aspose.Slides - ऊपर दिए गए डाउनलोड बटन का उपयोग करके NuGet से इंस्टॉल करें
OTP फ़ाइलें मर्ज करें - C#
var ps1 = new Presentation("presen1.otp");
var ps2 = new Presentation("presen2.pptx");
//merged Presentation
var mp = new Presentation("template.pptx");
while (mp.Slides.Count > 0){
mp.Slides.RemoveAt(0);
}
// master slide
var ms = mp.Masters[0];
// The first OTP presentation is added with its own styles.
foreach (var slide in ps1.Slides){
mp.Slides.AddClone(slide);
}
// The second PPTX presentation is added with template presentation styles using.
foreach (var slide in ps2.Slides){
mp.Slides.AddClone(slide, ms, true);
}
// It is possible to save the merged presentation to any supported format.
mp.Save("mp.pptx", SaveFormat.Pptx);
mp.Save("mp.pptx", SaveFormat.Pdf);
Aspose.Slides for .NET API के बारे में
Aspose.Slides API का उपयोग Microsoft PowerPoint दस्तावेज़ों को PDF, XPS, HTML, TIFF, ODP और अन्य विभिन्न स्वरूपों में पढ़ने, लिखने, हेरफेर करने और परिवर्तित करने के लिए किया जा सकता है। कोई नए सिरे से नई फाइलें बना सकता है और उन्हें संबंधित समर्थित प्रारूपों में सहेज सकता है। Aspose.Slides प्रस्तुतियों, स्लाइडों और तत्वों को बनाने, पार्स करने या हेरफेर करने के लिए एक स्टैंडअलोन एपीआई है और यह माइक्रोसॉफ्ट या ओपनऑफिस जैसे किसी भी सॉफ्टवेयर पर निर्भर नहीं करता है।Online OTP Merger Live Demos
Merge OTP documents right now by visiting our Live Demos website . The live demo has the following benefits
OTP क्या है OTP फ़ाइल प्रारूप
Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. The contents of such a file include presentation information in the form of slides with text, images, shapes, multimedia content, transition effects and other slide elements. These template files are used for creating new presentations quickly based on the styling information stored in the template itself. OTP files can be created and saved with several different applications such as Impress that comes with OpenOffice suite and Microsoft PowerPoint. The OTP file format is similar to Microsoft PowerPoint template files .POT and .POTX.
पढ़ने अधिकअन्य समर्थित विलय प्रारूप
C# का उपयोग करके, कोई भी कई अन्य फ़ाइल स्वरूपों को मर्ज कर सकता है, जिनमें शामिल हैं।