This documentation is archived and is not being maintained.


Returns the type of units used by the container.

CString AmbientScaleUnits( );

Return Value

A string containing the ambient ScaleUnits of the container. If this property is not supported, this function returns a zero-length string.


The container's ambient ScaleUnits property can be used to display positions or dimensions, labeled with the chosen unit, such as twips or centimeters. Note that the container is not required to support this property.

See Also

COleControl Overview | Class Members | Hierarchy Chart | COleControl::TransformCoords