adjustPageWidthNew
adjustPageWidthNew
- Subject: adjustPageWidthNew
- From: John MacMullin <email@hidden>
- Date: Fri, 28 Oct 2005 12:27:56 -0700
I am trying to get my current NSView object to conform to the new page
width as the user determines from the pagelayout dialog.
NSSize printSizeOfPaper = [printInfo paperSize]; //This is the new
size
NSRect currentRect = [myView frame];
[myView adjustPageWidthNew: (float)printSizeOfPaper.width left:
NSMinX(currentRect) right: NSMaxX(currentRect) limit:
(float)printSizeOfPaper.width];
On the compile for the "adjustPageWidthNew", I continue to get the
following error: processCompany.m:63: error: incompatible type for
argument 3 of indirect function call.
I have checked the documents and header and it calls for a float.
Any nudge in the right direction would be helpful.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden