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

.NET용 PPTM 파일 뷰어

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

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

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

.NET용 Aspose.Slides

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

NuGet

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

패키지 관리자 콘솔 명령


PM> Install-Package Aspose.Slides.NET

C#을 통해 PPTM을 보는 단계

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

  1. 프레젠테이션 개체 인스턴스화 및 PPTM 파일 로드

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

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

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

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

시스템 요구 사항

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

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

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


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

// instantiate a Presentation object & load the PPTM file
using (var presentation = new Aspose.Slides.Presentation("templatepptm"))
{
    // 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 PPTM

    Check our live demos to View PPTM with following benefits.

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

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

    Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. They are similar to PPTX files with the difference that the lateral can't execute macros though they can contain macros. PPTM files can be edited by opening them in Microsoft PowerPoint and updating the contents. Another similar format is PPSM but it is read-only by default and starts the slideshow when opened. PPTM, like PPTX, contains slides for different presentation elements like text, images, videos, graphs and other related material.

    더 읽기

    기타 지원되는 뷰어 형식

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

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