ShapeFactoryCreateImage Method (String, Point2d, Alignment, Double, Double, Double) |
Create a new instance of the 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 CreateImage(
string filename,
Point2d point,
Alignment alignment,
double scaleX,
double scaleY,
double angle
)
Public MustOverride Function CreateImage (
filename As String,
point As Point2d,
alignment As Alignment,
scaleX As Double,
scaleY As Double,
angle As Double
) As ImageShape
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 - scaleX
- Type: SystemDouble
A value indicating the magnification in the X direction. - scaleY
- Type: SystemDouble
A value indicating the magnification in the Y direction. - angle
- Type: SystemDouble
Placement angle (Degree)
Return Value
Type:
ImageShape representing the image
ImageShape See Also