CreateTransformScaling Method (IMathUtility)

CreateTransformScaling Method (IMathUtility) | Send Feedback
See Also Example

Transform[out]
  IMathTransform

CenterPoint
  IMathPoint

Scale
  Scaling factor

Creates a mathematical transformation matrix that scales about the specified center point using the specified scaling factor.

# Syntax

Visual Basic |
--- | ---
    Function CreateTransformScaling( _
       ByVal CenterPoint As MathPoint, _
       ByVal Scale As System.Double _
    ) As MathTransform

C# |
--- | ---
    MathTransform CreateTransformScaling(
       MathPoint CenterPoint,
       System.double Scale
    )

JavaScript |
--- | ---
    CreateTransformScaling(
       CenterPoint : dsMathPoint,
       Scale : Number
    ) : dsMathTransform

COM native C++ |
--- | ---
    HRESULT CreateTransformScaling(
       IMathPoint* CenterPoint,
       DOUBLE Scale,
       IMathTransform** Transform
    )

C++ |
--- | ---
    DSRESULT CreateTransformScaling(
       dsMathPoint* CenterPoint,
       double Scale,
       dsMathTransform** Transform
    )

#### Parameters

CenterPoint
  IMathPoint
Scale
  Scaling factor
Transform[out] or Return Value
  IMathTransform

# Example

Rotate, Scale, Project, and Mirror a Line Entity (JavaScript)
Rotate, Scale, Project, and Mirror a Line Entity (VB.NET)
Rotate, Scale, Project, and Mirror a Line Entity (C#)
Rotate, Scale, Project, and Mirror a Line Entity (VBA)

# See Also

####

IMathUtility Interface
IMathUtility Members
IMathUtility::CreateTransform Method
IMathUtility::CreateTransformMirroringAboutLine Method
IMathUtility::CreateTransformMirroringAboutPlane Method
IMathUtility::CreateTransformMirroringAboutPoint Method
IMathUtility::CreateTransformProjection Method
IMathUtility::CreateTransformRotation Method
IMathUtility::CreateTransformTranslation Method

# Availability

DraftSight V1R1.4