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