Share via


ShapeRange.Creator Property

Returns a Long that represents the four-character creator code for the application in which the specified object was created. For example, if the object was created in Microsoft Office PowerPoint, this property returns the hexadecimal number 50575054. Read-only.

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

Syntax

'Declaration
ReadOnly Property Creator As Integer
    Get
'Usage
Dim instance As ShapeRange
Dim value As Integer

value = instance.Creator
int Creator { get; }

Property Value

Type: System.Int32
Long

Remarks

The Creator property is designed to be used in Microsoft Office applications for the Macintosh.

Examples

This example displays a message about the creator of myObject.

Set myObject = Application.ActivePresentation.Slides(1).Shapes(1)

If myObject.Creator= &h50575054 Then

    MsgBox "This is a PowerPoint object"

Else

    MsgBox "This is not a PowerPoint object"

End If

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace