Partager via


DefaultWebOptions.OrganizeInFolder Property

Determines the global default setting for whether all Microsoft PowerPoint supporting files, such as background textures and graphics, are organized in a separate folder when you save or publish a presentation as a Web page. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property OrganizeInFolder As MsoTriState
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As MsoTriState

value = instance.OrganizeInFolder

instance.OrganizeInFolder = value
MsoTriState OrganizeInFolder { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

You can override the global setting for an individual presentation by setting the OrganizeInFolder property of the WebOptions object for that presentation.

The value of the OrganizeInFolder property can be one of these MsoTriState constants.

Constant

Description

msoFalse

Supporting files are saved in the same folder as the Web page.

msoTrue

The default. All supporting files, such as background textures and graphics, are organized in a separate folder when you save or publish a presentation as a Web page.

The new folder is created within the folder where you have saved the Web page, and is named after the presentation. If the UseLongFileNames property is set to true, a suffix is added to the folder name.

If you save a presentation that was previously saved with the OrganizeInFolder property set to a different value, PowerPoint automatically moves the supporting files into or out of the folder as appropriate.

If you don't use long file names (that is, if the UseLongFileNames property is set to false), PowerPoint automatically saves any supporting files in a separate folder. The files cannot be saved in the same folder as the Web page.

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.PowerPoint Namespace