ChangeFrameShape
TheChangeFrameShapemethod changes the frame shape of this frame.
void ChangeFrameShape (in ODShape shape, in ODCanvas biasCanvas);
shape- A reference to a frame shape to assign to this frame, expressed in frame coordinates.
biasCanvaskODNULLif the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.DISCUSSION
Your part calls its embedded frame'sChangeFrameShapemethod when it changes the shape of the embedded frame. This method in turn calls theFrameShapeChangedmethod of the embedded frame's part to notify the part that its frame shape has changed.If the used shape is the same as the frame shape, this method also calls the
UsedShapeChangedmethod of the embedded frame's part to notify the part that its used shape has changed.EXCEPTIONS
kODErrIllegalNullShapeInput- The
shapeparameter is null.SEE ALSO
TheODFrame::AcquireFrameShapemethod (page 302).
TheODFrame::RequestFrameShapemethod (page 331).
TheODPart::FrameShapeChangedmethod (page 520).
TheODPart::UsedShapeChangedmethod (page 550).
"Resizing an Embedded Frame" on page 120 in OpenDoc Programmer's Guide.
"Frame Shape" on page 145 in OpenDoc Programmer's Guide.
"Redrawing a Frame When It Changes" on page 161 in OpenDoc Programmer's Guide.