SetScale method

Sets the scale using a float value.

Syntax

HRESULT retVal = object.SetScale(Scale);

Parameters

  • Scale [in]
    Type: float

    Specifies the desired value.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.