Share

SketchImages.Add Method

Parent Object: SketchImages

Description

Method that creates an image based on an input picture file name.

Remarks

Insert a SketchImange into planar sketches in assembly or drawing sketches under a Sheet or DrawingView is not applicable.

Syntax

SketchImages.Add( FullFileName As String, Position As Point2d, [Link] As Boolean ) As SketchImage

Parameters

Name Type Description
FullFileName String Specifies the full file name of a picture file that contains the image to be inserted.
Position Point2d Object that specifies the position on the sketch to insert the image at.
Link Boolean Boolean that specifies whether or not to link the input source file. The default value is True indicating the file will be linked.

This is an optional argument whose default value is True.

Samples

Name Description
Add a decal feature This sample demonstrates the creation of a decal feature.

Version

Introduced in version 11

Was this information helpful?