PowerPoint.Presentation
説明
PowerPointプレゼンテーションの作成、起動、および編集を行うクラスです。
プロパティ
| slides | プレゼンテーション内のスライドにアクセスします(読み取り専用)。 | 
| slideSize | プレゼンテーション内のスライドに関してサイズを取得/設定します。 | 
| slideSizeType | プレゼンテーションのSlideSizeTypeを取得/設定する、PowerPoint.SlideSizeTypeの列挙体です。 | 
| template | プレゼンテーションが使用しているテンプレートです(読み取り専用)。 | 
メソッド
| addSlide | 特定のレイアウトを使用してスライドを追加します。 | 
| applyTemplate | ファイルからテンプレートを適用します。 | 
| applyTheme | ファイルからテーマを適用します。 | 
| close | プレゼンテーションを閉じて現在のPowerPointインスタンスを終了します。 | 
| save | プレゼンテーションを保存します。 | 
静的メソッド
| create | 空のプレゼンテーションを新規作成します。 | 
| open | 指定したパスからプレゼンテーションを開きます。 | 
詳細
削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.slides
readonly PowerPoint.Slide slides
説明
プレゼンテーション内のスライドにアクセスします(読み取り専用)。
プレゼンテーション内のスライド数へのアクセス
次のコードを使用して、プレゼンテーション内のスライド数にアクセスできます。
presentation.slides.length
ランクによるスライドへのアクセス
次のコードを使用して、個別のスライドにアクセスできます。
				presentation.slides[1] // first slide
				presentation.slides[presentation.slides.length] // last slide
				presentation.slides[i] // i-th slide
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.slideSize
Vec2 slideSize
説明
プレゼンテーション内のスライドに関してサイズを取得/設定します。
				PowerPoint.Presentation presentation = PowerPoint.Presentation.create(1);
				presentation.addSlide(PowerPoint.Layout.blank);
				presentation.slideSize = Vec2(400,400);
				return presentation.slideSize;
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.slideSizeType
int slideSizeType
説明
プレゼンテーションのSlideSizeTypeを取得/設定する、PowerPoint.SlideSizeTypeの列挙体です。
				PowerPoint.Presentation presentation = PowerPoint.Presentation.create(1);
				presentation.addSlide(PowerPoint.Layout.blank);
				presentation.slideSizeType = PowerPoint.SlideSizeType.OnScreen16x10;
				return presentation.slideSizeType;
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.template
readonly string template
説明
プレゼンテーションが使用しているテンプレートです(読み取り専用)。
			  PowerPoint.Presentation presentation = PowerPoint.Presentation.open(modeldir() + "\\Presentation.pptx", 1);
			  return presentation.template;
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.addSlide()
| void addSlide( int layout ) | 
パラメータ
| layout | スライドが追加された際に適用したいレイアウトです。これはPowerPoint.Layoutの列挙体である必要があります。 | 
説明
特定のレイアウトを使用してスライドを追加します。
			  PowerPoint.Presentation presentation = PowerPoint.Presentation.create(1);
			  presentation.addSlide(PowerPoint.Layout.blank);
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.applyTemplate()
| void applyTemplate( string filePath ) | 
パラメータ
| filePath | テーマの位置を示すパスです。 | 
説明
ファイルからテンプレートを適用します。
			  PowerPoint.Presentation presentation = PowerPoint.Presentation.create(1);
			  presentation.applyTemplate(modeldir() + "\\Template.potx");
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.applyTheme()
| void applyTheme( string filePath ) | 
パラメータ
| filePath | テーマの位置を示すパスです。 | 
説明
ファイルからテーマを適用します。
			  PowerPoint.Presentation presentation = PowerPoint.Presentation.create(1);
			  presentation.applyTheme(modeldir() + "\\Theme.thmx");
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.close()
| void close( ) | 
説明
プレゼンテーションを閉じて現在のPowerPointインスタンスを終了します。
			  PowerPoint.Presentation presentation = PowerPoint.Presentation.create(1);
			  presentation.save(modeldir() + "\\Presentation.pptx");
			  presentation.close();
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.save()
| void save( string filePath = 0 ) | 
パラメータ
| filePath | プレゼンテーションの保存先として指定するパスです。指定しない場合、プレゼンテーションが最後に開かれた際のファイルパス、または前回保存された際のファイルパスに保存されます。 | 
説明
プレゼンテーションを保存します。
			  PowerPoint.Presentation presentation = PowerPoint.Presentation.create(1);
			  presentation.save(modeldir() + "\\Presentation.pptx");
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.create()
| static void create( int visible ) | 
パラメータ
| visible | 作成したプレゼンテーションをユーザーに対して表示するかどうか選択します。 | 
説明
空のプレゼンテーションを新規作成します。
			  PowerPoint.Presentation presentation = PowerPoint.Presentation.create(1);
			削除を行わないでください。doc.flexsim.comのアンカーが修正されます。
			PowerPoint.Presentation.open()
| static void open( string filePath , int visible ) | 
パラメータ
| filePath | 開きたいPowerPointプレゼンテーションに対するパスです。 | 
| visible | 開いたプレゼンテーションをユーザーに対して表示するかどうか選択します。 | 
説明
指定したパスからプレゼンテーションを開きます。
			  PowerPoint.Presentation presentation = PowerPoint.Presentation.open(modeldir() + "\\Presentation.pptx", 1);