Prod.: Engine, ver.: 6022, ID: 60001725, Wish : I would like a command to clip an Image

Wish : I would like a command to clip an Image

Article60001725
TypeWish
ProductEngine
Version6022
Date Added6/11/2012
FixedYes [6/11/2012]
Submitted byYannis Makarounis
Keywords

Subject

I would like a command to clip an Image

Summary

I would Like a command to select a vdCurve to clip an Image.

Solution

Added in 6023.

We added the the CmdSelectClipImageObject command to the CommandAction of the vdDocument object.

public bool CmdSelectClipImageObject(object Image , object clipObjectCurve)
summary: Clips an Image object using a curve. The curve can be either a vdCircle , vdArc , vdPolyline , vdEllipse.
param name="Image": A vdImage object or "USER" , null so the user picks a vdImage object.
param name="clipObjectCurve": A vdCurve object or "USER",null so the user chooses to either select a curve (presses C) or presses P in order to draw a polyline in order to specify the clipping area.
returns: True if the command was succesfull.