GefImageFormat.InsertAsLink (property)

Specifies whether the file should be used as a linked source or should be embedded
Syntax: Boolean = object.InsertAsLink
object.InsertAsLink = Boolean
Description:

We can set and get the InsertAsLink of PictureObject, if the InsertAsLink is True, the file will be locked as long as the screen displaying the image is open, so we will not be able to do any changes. during that time,


Example:

Sub GefImageFormat_InsertAsLink()
    
    Dim oCimObj As GefObject
    Dim oCimImageFmt As GefImageFormat
    
    Set oCimObj = CimGetObject
    Set oCimImageFmt = oCimObj.ImageFormat
    If Not oCimImageFmt Is Nothing Then
he          oCimImageFmt.InsertAsLink = True
         CimGetScreen.Refresh False
    End If
    
End Sub