how to know current page?
how to know current page?
- Subject: how to know current page?
- From: norio <email@hidden>
- Date: Wed, 27 Feb 2008 10:48:02 +0900
Hi,
I'm wondering how to know current printing page in
drawPageBorderWithSize?
Here's my drawPageBorderWithSize of my view:
- (void)drawPageBorderWithSize:(NSSize)borderSize
{
unsigned long pageNum = [[NSPrintOperation currentOperation]
currentPage];
NSLog (@"%ld",pageNum);
}
But the pageNum was still zero.
Would you tell me what I'm missing?
Best regards,
Norio Ota
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden