Share via


ShapeRange.LinkFormat Property

Returns a LinkFormat object that contains the properties that are unique to linked OLE objects. Read-only.

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

Syntax

'Declaration
ReadOnly Property LinkFormat As LinkFormat
    Get
'Usage
Dim instance As ShapeRange
Dim value As LinkFormat

value = instance.LinkFormat
LinkFormat LinkFormat { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.LinkFormat
LinkFormat

Examples

This example updates the links between any OLE objects on slide one in the active presentation and their source files.

For Each sh In ActivePresentation.Slides(1).Shapes

    If sh.Type = msoLinkedOLEObject Then

        With sh.LinkFormat.Update

        End With

    End If

Next

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace