CODMetafileComponent::SetLocalBounds

BOOLCODMetafileComponent::SetLocalBounds(const CRect&rect)

Sets the local points to the given logical rectangle.

Defined in: OdMetafileComp.cpp

Return Value

TRUE if successful; otherwise FALSE.

Parameters

rect

Bounding rectangle in logical units.

Comments

This function sets the four local points to the corners of the given rectangle. Local points are pre-transform points, so translation, scaling, and rotation will be applied to the given bounding rectangle during rendering. This function will fail if the component has not been created yet.

See Also

CODPointComponent