Carbon


TXNMargins

Header: MacTextEditor.h

Contains the margin values of a text object. This structure is used in the TXNControlData union.

struct TXNMargins {
    SInt16 topMargin; 
    SInt16 leftMargin; 
    SInt16 bottomMargin; 
    SInt16 rightMargin;
};

Field descriptions

topMargin

Indicates location of top margin.

leftMargin

Indicates location of left margin.

bottomMargin

Indicates location of bottom margin.

rightMargin

Indicates location of right margin.

VERSION NOTES

The bottomMargin and rightMargin parameters are placeholders for a future version of MLTE. You cannot set them now.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)