CODRulerWrapper_T::CreateHorizontalRuler

CODRulerComponent*CODRulerWrapper_T::CreateHorizontalRuler(IODRuler*pIRuler)

Create the horizontal ruler component.

Defined in: OdRulerWrapper.h

Return Value

Pointer to the horizontal ruler component.

Parameters

pIRuler

Pointer to an  IODRuler conversion interface.

Comments

This function creates a  CODRulerComponent object and then calls  CODRulerComponent::Create for the object. The  IODRuler pointer is required by CODRulerComponent in order to convert measurements to logical units. Derived classes can override this function in order to create a different type of horizontal ruler.

See Also

GetHorizontalRuler