| Home 目次>ApplicationKit>NSParagraphStyle このサイトはこちらに移転しました。 | |
tabStops
タブストップの配列を返します
-(NSArray *) tabStops
【返り値】 | |
| NSArray * | タブストップの配列 |
【解説】
タブストップの配列を返します。
【例文】
#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([[pStyle tabStops] description]);
}
@end
![]() | |
この記事を評価してください。
| Home 目次>ApplicationKit>NSParagraphStyle | 修正日2006.12.26 |