paragraphSpacing
段落間値を返します
解説
段落間値を返します。
返り値
( float )
段落間値
引数
フレームワーク
ApplicationKit
クラス
NSParagraphStyle
Instance Methods
使用可能
10.0
参照
- lineSpacing
- setParagraphSpacing: (NSMutableParagraphStyle)
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSTextTab *tabStop = [[NSTextTab alloc] initWithType:NSLeftTabStopType location:144]; NSMutableParagraphStyle *pStyle = [NSMutableParagraphStyle defaultParagraphStyle]; [myOutlet setUsesRuler:YES]; [myOutlet setRulerVisible:YES]; NSLog([NSString stringWithFormat:@"%.1f",[pStyle paragraphSpacing]]); } @end