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

.NET용 POTX 파일 뷰어

Microsoft PowerPoint 또는 Office Automation 없이 POTX와 같은 프레젠테이션 파일 보기

C#을 사용하여 POTX 파일을 보는 방법

POTX 파일을 보려면 다음을 사용합니다.

.NET용 Aspose.Slides

기능이 풍부하고 강력하며 사용하기 쉬운 C# 플랫폼용 API인 API는 모든 뷰어와 함께 사용할 수 있습니다. 열려 있는

NuGet

패키지 관리자, 검색 아포즈.슬라이드 설치합니다. 패키지 관리자 콘솔에서 다음 명령을 사용할 수도 있습니다.

패키지 관리자 콘솔 명령


PM> Install-Package Aspose.Slides.NET

C#을 통해 POTX를 보는 단계

Aspose.Slides를 사용하면 개발자가 몇 줄의 코드로 POTX 파일을 쉽게 볼 수 있습니다.

  1. Presentation 개체를 인스턴스화하고 POTX 파일을 로드합니다.

  2. 서식 지정을 위한 ResponsiveHtmlController 인스턴스 만들기

  3. HtmlOptions의 인스턴스를 만들고 HtmlFormatter 속성을 설정합니다.

  4. POTX 프레젠테이션을 HTML 형식으로 저장

  5. 기본 브라우저에서 POTX 콘텐츠를 로드하기 위해 결과 HTML에 대한 경로로 Process.Start를 호출합니다.

시스템 요구 사항

.NET용 Aspose.Slides는 모든 주요 운영 체제에서 지원됩니다. 다음 전제 조건이 있는지 확인하십시오.

  • Microsoft Windows 또는 .NET Framework, .NET Core, Windows Azure, Mono 또는 Xamarin 플랫폼과 호환되는 OS
  • Microsoft Visual Studio와 같은 개발 환경
  • 프로젝트에서 참조되는 .NET용 Aspose.Slides
 

POTX 파일을 보는 C# 예제 코드


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

// instantiate a Presentation object & load the POTX file
using (var presentation = new Aspose.Slides.Presentation("templatepotx"))
{
    // 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);
 
  • .NET API용 Aspose.Slides 정보

    Aspose.Slides API는 Microsoft PowerPoint 문서를 읽고, 쓰고, 조작하고, PDF, XPS, HTML, TIFF, ODP 및 기타 다양한 형식으로 변환하는 데 사용할 수 있습니다. 처음부터 새 파일을 만들고 지원되는 관련 형식으로 저장할 수 있습니다. Aspose.Slides는 프레젠테이션, 슬라이드 및 요소를 생성, 구문 분석 또는 조작하기 위한 독립 실행형 API이며 Microsoft 또는 OpenOffice와 같은 소프트웨어에 의존하지 않습니다.

    Free App to View POTX

    Check our live demos to View POTX with following benefits.

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

    POTX POTX 파일 형식이란 무엇입니까?

    Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. This format was created to replace the POT file format that is based on the binary file format and is supported with PowerPoint 97-2003. The files generated can be used to create presentations that have same layout and other settings required to be applied to new files. These settings can include styles, backgrounds, colour palette, fonts and defaults. Such files are generated in order to create ready-to-use template files for official use.

    더 읽기

    기타 지원되는 뷰어 형식

    C#을 사용하여 One은 다음을 포함한 많은 다른 파일 형식도 볼 수 있습니다.

    ODP (OpenDocument 프레젠테이션 형식)
    OTP (OpenDocument 표준 형식)
    POT (마이크로소프트 파워포인트 템플릿 파일)
    POTM (마이크로소프트 파워포인트 템플릿 파일)
    PPS (파워포인트 슬라이드 쇼)
    PPSM (매크로 사용 슬라이드 쇼)
    PPSX (파워포인트 슬라이드 쇼)
    PPT (마이크로소프트 파워포인트 97-2003)
    PPTM (매크로 사용 프레젠테이션 파일)
    PPTX (Open XML 프레젠테이션 형식)