DetachReferenceImage Method (ISketchManager)

DetachReferenceImage Method (ISketchManager) | Send Feedback
See Also

Retval[out]
  True if the Referenced image is detached from the drawing, false if not

ReferenceImage
  Referenced image to detach from the drawing

Detaches the specified Referenced image from the drawing.

# Syntax

Visual Basic |
--- | ---
    Function DetachReferenceImage( _
       ByVal ReferenceImage As ReferenceImage _
    ) As System.Boolean

C# |
--- | ---
    System.bool DetachReferenceImage(
       ReferenceImage ReferenceImage
    )

JavaScript |
--- | ---
    DetachReferenceImage(
       ReferenceImage : dsReferenceImage
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT DetachReferenceImage(
       IReferenceImage* ReferenceImage,
       VARIANT_BOOL* Retval
    )

C++ |
--- | ---
    DSRESULT DetachReferenceImage(
       dsReferenceImage* ReferenceImage,
       bool* Retval
    )

#### Parameters

ReferenceImage
  Referenced image to detach from the drawing
Retval[out] or Return Value
  True if the Referenced image is detached from the drawing, false if not

# Remarks

This method removes the Referenced image from the drawing, including the link to the Referenced image.

# See Also

####

ISketchManager Interface
ISketchManager Members
ISketchManager::InsertPicture Method ()
IReferenceImage::Reload Method ()
IReferenceImage::Unload Method ()

# Availability

DraftSight V1R5.0