headIndent
第1行以外のインデント値を返します
解説
第1行以外のインデント値を返します。
常に正の数。
返り値
( float )
インデント値
引数
フレームワーク
ApplicationKit
クラス
NSParagraphStyle
Instance Methods
使用可能
10.0
参照
- firstLineHeadIndent
- tailIndent
- setHeadIndent:(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 headIndent]]); } @end