Click or drag to resize

ShapeCollectionAddImage Method

Add an image.

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract ImageShape AddImage(
	string filename,
	Point2d point,
	Alignment alignment,
	double width,
	double height,
	double angle
)

Parameters

filename
Type: SystemString
image file path
point
Type: RootPro.RootProCAD.GeometryPoint2d
Represents the coordinates of the placement point Point2d
alignment
Type: RootPro.RootProCADAlignment
Represents the alignment reference type type Alignment
width
Type: SystemDouble
width
height
Type: SystemDouble
height
angle
Type: SystemDouble
Placement angle (Degree)

Return Value

Type: ImageShape
representing the image ImageShape
See Also