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
IsInSlideShow
public bool IsInSlideShow { get; }
Property Value
IsSupportWPS
public bool IsSupportWPS { get; set; }
Property Value
PPTApplication
public Application PPTApplication { get; }
Property Value
- Application
SkipAnimationsWhenNavigating
public bool SkipAnimationsWhenNavigating { get; set; }
Property Value
SlidesCount
public int SlidesCount { get; }
Property Value
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
GetPresentationName()
public string GetPresentationName()
Returns
GetPresentationPath()
public string GetPresentationPath()
Returns
StartMonitoring()
public void StartMonitoring()
StopMonitoring()
public void StopMonitoring()
TryEndSlideShow()
public bool TryEndSlideShow()
Returns
TryNavigateNext()
public bool TryNavigateNext()
Returns
TryNavigatePrevious()
public bool TryNavigatePrevious()
Returns
TryNavigateToSlide(int)
public bool TryNavigateToSlide(int slideNumber)
Parameters
slideNumberint
Returns
TryShowSlideNavigation()
public bool TryShowSlideNavigation()
Returns
TryStartSlideShow()
public bool TryStartSlideShow()
Returns
Events
PPTConnectionChanged
public event Action<bool> PPTConnectionChanged
Event Type
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