Share via


WebOptions.OrganizeInFolder Property

Determines whether all supporting files, such as background textures and graphics, are organized in a separate folder when you save or publish the specified 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 WebOptions
Dim value As MsoTriState

value = instance.OrganizeInFolder

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

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

The value of the OrganizeInFolder property can be one of the following 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 the specified 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, Microsoft PowerPoint automatically moves the supporting files into or out of the folder as appropriate.

If you do not 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

WebOptions Interface

WebOptions Members

Microsoft.Office.Interop.PowerPoint Namespace