![]() |
TXNSetFrameBounds |
||||
Header: | MacTextEditor.h | Carbon status: | Supported | |
Changes the boundaries of a text objects frame.
void TXNSetFrameBounds ( TXNObject iTXNObject, SInt32 iTop, SInt32 iLeft, SInt32 iBottom, SInt32 iRight, TXNFrameID iTXNFrameID );
A variable of type TXNObject. Pass the text object for the current text area.
A signed 32-bit integer that specifies the top boundary of the rectangle.
A signed 32-bit integer that specifies the left boundary of the rectangle.
A signed 32-bit integer that specifies the bottom boundary of the rectangle.
A signed 32-bit integer that specifies the right boundary of the rectangle.
A variable of type TXNFrameID that specifies the frame to move. You get this when you call TXNNewObject.
If you want to change the frame size but keep the same origin, you can use the TXNResizeFrame function.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)