Share via


ChartFont.Name Property

Returns or sets the name of the specified object. Read/write.

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

Syntax

'Declaration
Property Name As Object
    Get
    Set
'Usage
Dim instance As ChartFont
Dim value As Object

value = instance.Name

instance.Name = value
Object Name { get; set; }

Property Value

Type: System.Object
String

Remarks

You can use the object's name in conjunction with the Item method to return a reference to the object if the Item method for the collection that contains the object takes a Variant argument. For example, if the value of the Name property for a shape is Rectangle 2, then .Shapes("Rectangle 2") will return a reference to that shape.

See Also

Reference

ChartFont Interface

ChartFont Members

Microsoft.Office.Interop.PowerPoint Namespace