Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / TransformProperty<T> Class / TransformProperty<T> Constructor
The property related with the X axis.
The property related with the Y axis.
The property related with the Z axis.
Example
In This Topic
    TransformProperty<T> Constructor
    In This Topic
    Creates a new instance of the TransformProperty<T> with the specified properties for X, Y and Z axes.
    Syntax
    public TransformProperty<T>( 
       T x,
       T y,
       T z
    )

    Parameters

    x
    The property related with the X axis.
    y
    The property related with the Y axis.
    z
    The property related with the Z axis.
    Example
    The following example shows how to create a new TransformProperty{T} .
    TransformProperty<LengthProperty> translation = new TransformProperty<LengthProperty>(
    	new LengthProperty(20, Unit.Millimeter),
    	new LengthProperty(-20.5, Unit.Millimeter),
    	new LengthProperty(0.07, Unit.Millimeter)
    );
    
    TransformProperty<AngleProperty> rotation = new TransformProperty<AngleProperty>(
    	new AngleProperty(20, Unit.Degree),
    	new AngleProperty(0, Unit.Degree),
    	new AngleProperty(-90, Unit.Degree)
    );
    See Also