HTML JPG PDF XML OTP
Aspose.Slides  for .NET
OTP

.NET . के लिए ओटीपी फ़ाइल व्यूअर

Microsoft PowerPoint या Office Automation के बिना OTP जैसी प्रस्तुति फ़ाइलें देखें

सी # का उपयोग कर ओटीपी फाइल कैसे देखें

ओटीपी फाइल देखने के लिए, हम उपयोग करेंगे

Aspose.Slides for .NET

एपीआई जो किसी भी व्यूअर के साथ उपयोग किए जाने के लिए सी # प्लेटफॉर्म के लिए एक सुविधा संपन्न, शक्तिशाली और उपयोग में आसान एपीआई है। खुला

नुगेट

पैकेज मैनेजर, खोजें अनुमान करें।स्लाइड्स और स्थापित करें। आप पैकेज मैनेजर कंसोल से निम्न कमांड का भी उपयोग कर सकते हैं।

पैकेज मैनेजर कंसोल कमांड


PM> Install-Package Aspose.Slides.NET

सी#के माध्यम से ओटीपी देखने के चरण

Aspose.Slides डेवलपर्स के लिए कोड की कुछ पंक्तियों के साथ OTP फ़ाइल को देखना आसान बनाता है।

  1. प्रेजेंटेशन ऑब्जेक्ट को इंस्टेंट करें और ओटीपी फाइल लोड करें

  2. स्वरूपण के लिए ResponsiveHtmlController का एक उदाहरण बनाएं

  3. HtmlOptions का एक उदाहरण बनाएँ और HtmlFormatter गुण सेट करें

  4. ओटीपी प्रेजेंटेशन को HTML फॉर्मेट में सेव करें

  5. कॉल प्रक्रिया। डिफ़ॉल्ट ब्राउज़र में ओटीपी सामग्री लोड करने के लिए परिणामी HTML के पथ से प्रारंभ करें

सिस्टम आवश्यकताएं

Aspose.Slides for .NET सभी प्रमुख ऑपरेटिंग सिस्टम पर समर्थित है। बस सुनिश्चित करें कि आपके पास निम्नलिखित पूर्वापेक्षाएँ हैं।

  • Microsoft Windows या .NET Framework, .NET Core, Windows Azure, Mono या Xamarin Platforms के साथ संगत OS
  • माइक्रोसॉफ्ट विजुअल स्टूडियो जैसे विकास का माहौल
  • Aspose.Slides for .NET आपके प्रोजेक्ट में संदर्भित है
 

सी# उदाहरण कोड ओटीपी फ़ाइल देखने के लिए


string output = System.IO.Path.GetTempPath() + Guid.NewGuid().ToString() + ".html";

// instantiate a Presentation object & load the OTP file
using (var presentation = new Aspose.Slides.Presentation("templateotp"))
{
    // create HTML export controller
    var controller = new Aspose.Slides.Export.ResponsiveHtmlController();
    // create an instance of HtmlOptions and set HtmlFormatter property
    var htmlOptions = new Aspose.Slides.Export.HtmlOptions 
    { 
        HtmlFormatter = Aspose.Slides.Export.HtmlFormatter.CreateCustomFormatter(controller) 
    };

    // save the presentation in HTML
    presentation.Save(output, Aspose.Slides.Export.SaveFormat.Html, htmlOptions);
}
// load HTML to view the presentation content
System.Diagnostics.Process.Start(output);
 
  • Aspose.Slides for .NET API के बारे में

    Aspose.Slides API का उपयोग Microsoft PowerPoint दस्तावेज़ों को PDF, XPS, HTML, TIFF, ODP और अन्य विभिन्न स्वरूपों में पढ़ने, लिखने, हेरफेर करने और परिवर्तित करने के लिए किया जा सकता है। कोई नए सिरे से नई फाइलें बना सकता है और उन्हें संबंधित समर्थित प्रारूपों में सहेज सकता है। Aspose.Slides प्रस्तुतियों, स्लाइडों और तत्वों को बनाने, पार्स करने या हेरफेर करने के लिए एक स्टैंडअलोन एपीआई है और यह माइक्रोसॉफ्ट या ओपनऑफिस जैसे किसी भी सॉफ्टवेयर पर निर्भर नहीं करता है।

    Free App to View OTP

    Check our live demos to View OTP with following benefits.

      No need to download or setup anything
      No need to write or compile code
      Just upload OTP file and hit the "View" button
      Download OTP file from the link, if required

    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# का उपयोग करके, कोई भी कई अन्य फ़ाइल स्वरूपों को भी देख सकता है, जिनमें शामिल हैं।

    ODP (OpenDocument प्रस्तुति स्वरूप)
    POT (Microsoft PowerPoint टेम्पलेट फ़ाइलें)
    POTM (Microsoft PowerPoint टेम्पलेट फ़ाइल)
    POTX (माइक्रोसॉफ्ट पावरपॉइंट टेम्पलेट प्रेजेंटेशन)
    PPS (पावरपॉइंट स्लाइड शो)
    PPSM (मैक्रो-सक्षम स्लाइड शो)
    PPSX (पावरपॉइंट स्लाइड शो)
    PPT (माइक्रोसॉफ्ट पावरपॉइंट 97-2003)
    PPTM (मैक्रो-सक्षम प्रस्तुति फ़ाइल)
    PPTX (एक्सएमएल प्रस्तुति प्रारूप खोलें)