Share

SketchImageProxy Object

Derived from: SketchImage Object

Description

This is an assembly-context proxy object derived from its native definition-context object.

Methods

Name Description
Delete Method that deletes this object.
GetReferenceKey Method that generates and returns the reference key for this entity.
MirrorHorizontal Method that mirrors the image horizontally.
MirrorVertical Method that mirrors the image vertically.
RotateLeft Method that rotates the image counter-clockwise by 90 degrees.
RotateRight Method that rotates the image clockwise by 90 degrees.
Update Method that updates this image if the linked source file has been modified. This method returns a failure if there is no linked file associated with this image.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
BoundaryGeometry Property that returns the four construction sketch lines that form the boundary of the image.
ContainingOccurrence Property that returns the ComponentOccurrence that the native object is being referenced through. The returned occurrence is the containing occurrence.
ContainingSketchBlock Property that returns the sketch block that contains this object. This is the same SketchBlock returned as the last item in the SketchBlockPath property. This property returns Nothing if this object does not belong to a sketch block and lives directly under a sketch.
Height Get and set the image height.
Image Gets the Picture object representing the associated bitmap.
ImageAlpha Gets the Alpha channel bitmap of the Picture object representing the associated bitmap. Returns Nothing if there is no alpha data being used.
LinkedToFile Property that returns whether this image is linked to the picture file that was used to create this image.
Name Gets and sets the name of the image.
NativeObject Gets the object in the context of the definition instead of the containing assembly.
Parent Property that returns the parent sketch.
Position Gets and sets the position of the image on the sketch.
ReferencedFileDescriptor Property that returns the reference to the picture file used to create this image. This property returns Nothing if the source file is not linked (use the LinkedToFile property to determine this).
SketchBlockPath Property that returns the path of sketch blocks at the leaf of which this sketch object is found. The enumerator returns a count of 0 if the object lives directly under a sketch.
Transparent Gets and sets whether the image is transparent.
Type Returns an ObjectTypeEnum indicating this object's type.
Visible Gets and sets whether the image is visible.
Width Get and set the image width.

Version

Introduced in version 11

Was this information helpful?