tailIndent
行末インデント値を返します
解説
行末インデント値を返します。
返り値
( float )
行末インデント値
引数
フレームワーク
ApplicationKit
クラス
NSParagraphStyle
Instance Methods
使用可能
10.0
参照
- headIndent
- firstLineHeadIndent
- setTailIndent:(NSMutableParagraphStyle)
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSMutableParagraphStyle *pStyle = [NSMutableParagraphStyle defaultParagraphStyle]; [myOutlet setUsesRuler:YES]; [myOutlet setRulerVisible:YES]; NSLog([NSString stringWithFormat:@"%.1f",[pStyle tailIndent]]); } @end