2010-12-16から1日間の記事一覧
using PowerPoint = Microsoft.Office.Interop.PowerPoint; public partial class ThisAddIn { PowerPoint.Presentation GetActivePresentation() { return this.Application.ActivePresentation; } PowerPoint.Slide GetActiveSlide() { return this.Applic…
using PowerPoint = Microsoft.Office.Interop.PowerPoint; public partial class ThisAddIn { PowerPoint.Selection GetSelection() { try { return this.Application.ActiveWindow.Selection; } catch (System.Runtime.InteropServices.COMException exc) …