Table of Contents

Class PPTManager

Namespace
Ink_Canvas.Helpers
Assembly
InkCanvasForClass.dll

PPT联动管理器 - 统一管理PPT和WPS的连接、事件处理和进程管理

public class PPTManager : IDisposable
Inheritance
PPTManager
Implements
Inherited Members

Constructors

PPTManager()

public PPTManager()

Properties

CurrentPresentation

public Presentation CurrentPresentation { get; }

Property Value

Presentation

CurrentSlide

public Slide CurrentSlide { get; }

Property Value

Slide

CurrentSlides

public Slides CurrentSlides { get; }

Property Value

Slides

IsConnected

public bool IsConnected { get; }

Property Value

bool

IsInSlideShow

public bool IsInSlideShow { get; }

Property Value

bool

IsSupportWPS

public bool IsSupportWPS { get; set; }

Property Value

bool

PPTApplication

public Application PPTApplication { get; }

Property Value

Application

SkipAnimationsWhenNavigating

public bool SkipAnimationsWhenNavigating { get; set; }

Property Value

bool

SlidesCount

public int SlidesCount { get; }

Property Value

int

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetCurrentActivePresentation()

获取当前活跃的演示文稿

public Presentation GetCurrentActivePresentation()

Returns

Presentation

GetCurrentSlideNumber()

获取当前幻灯片编号

public int GetCurrentSlideNumber()

Returns

int

GetPresentationName()

public string GetPresentationName()

Returns

string

GetPresentationPath()

public string GetPresentationPath()

Returns

string

StartMonitoring()

public void StartMonitoring()

StopMonitoring()

public void StopMonitoring()

TryEndSlideShow()

public bool TryEndSlideShow()

Returns

bool

TryNavigateNext()

public bool TryNavigateNext()

Returns

bool

TryNavigatePrevious()

public bool TryNavigatePrevious()

Returns

bool

TryNavigateToSlide(int)

public bool TryNavigateToSlide(int slideNumber)

Parameters

slideNumber int

Returns

bool

TryShowSlideNavigation()

public bool TryShowSlideNavigation()

Returns

bool

TryStartSlideShow()

public bool TryStartSlideShow()

Returns

bool

Events

PPTConnectionChanged

public event Action<bool> PPTConnectionChanged

Event Type

Action<bool>

PresentationClose

public event Action<Presentation> PresentationClose

Event Type

Action<Presentation>

PresentationOpen

public event Action<Presentation> PresentationOpen

Event Type

Action<Presentation>

SlideShowBegin

public event Action<SlideShowWindow> SlideShowBegin

Event Type

Action<SlideShowWindow>

SlideShowEnd

public event Action<Presentation> SlideShowEnd

Event Type

Action<Presentation>

SlideShowNextSlide

public event Action<SlideShowWindow> SlideShowNextSlide

Event Type

Action<SlideShowWindow>

SlideShowStateChanged

public event Action<bool> SlideShowStateChanged

Event Type

Action<bool>