Partilhar via


CComControlBase::GetAmbientScaleUnits

Retrieves DISPID_AMBIENT_SCALEUNITS, the container's ambient units (such as inches or centimeters) for labeling displays.

HRESULT GetAmbientScaleUnits(
   BSTR& bstrScaleUnits
); 

Parameters

  • bstrScaleUnits
    The property DISPID_AMBIENT_SCALEUNITS.

Return Value

One of the standard HRESULT values.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

Other Resources

CComControlBase Members

CComControlBase Members