Поделиться через


HeaderFooter.UseFormat Property

Determines whether the date and time object contains automatically updated information. Read/write.

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

Syntax

'Declaration
Property UseFormat As MsoTriState
    Get
    Set
'Usage
Dim instance As HeaderFooter
Dim value As MsoTriState

value = instance.UseFormat

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

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

This property applies only to a HeaderFooter object that represents a date and time (returned by the DateAndTime property). Set the UseFormat property of a date and time HeaderFooter object to true when you want to set or return the date and time format by using the Format property. Set the UseFormat property to msoFalse when you want to set or return the text string for the fixed date and time.

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

Constant

Description

msoFalse

The date and time object is a fixed string.

msoTrue

The date and time object contains automatically updated information.

See Also

Reference

HeaderFooter Interface

HeaderFooter Members

Microsoft.Office.Interop.PowerPoint Namespace