![]() |
TXNResizeFrame |
||||
Header: | MacTextEditor.h | Carbon status: | Supported | |
Changes the size of the text objects frame.
void TXNResizeFrame ( TXNObject iTXNObject, UInt32 iWidth, UInt32 iHeight, TXNFrameID iTXNFrameID );
A variable of type TXNObject. Pass the text object for the current text area.
An unsigned 32-bit integer. You use this to specify the new width of the frame in pixels.
An unsigned 32-bit integer. You use this to specify the new height of the frame in pixels.
A variable of type TXNFrameID that specifies the frame to resize. You get this ID when you call the TXNNewObject function.
The TXNResizeFrame function does not move the origin of the frame.
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)