Share via


Presentation.ReloadAs Method

PowerPoint Developer Reference

Reloads a presentation based on a specified HTML document encoding.

Syntax

expression.ReloadAs(cp)

expression   A variable that represents a Presentation object.

Parameters

Name Required/Optional Data Type Description
cp Required MsoEncoding The document encoding to use when reloading the Web page.

Remarks

The cp parameter value can be one of these MsoEncoding constants.

msoEncodingArabicAutoDetect
msoEncodingAutoDetect
msoEncodingCyrillicAutoDetect
msoEncodingGreekAutoDetect
msoEncodingJapaneseAutoDetect
msoEncodingKoreanAutoDetect
msoEncodingSimplifiedChineseAutoDetect
msoEncodingTraditionalChineseAutoDetect

Example

This example reloads the active presentation, using Western encoding.

Visual Basic for Applications
  ActivePresentation.ReloadAs (msoEncodingWestern)

See Also