MonobjcMonobjc Documented Class Library
ShouldChangePrintInfo Method (newPrintInfo)

Returns a Boolean value indicating whether the receiver should allow changes to the default NSPrintInfo object used in printing the document.

Original signature is '- (BOOL)shouldChangePrintInfo:(NSPrintInfo *)newPrintInfo'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ShouldChangePrintInfo(
	NSPrintInfo newPrintInfo
Public Overridable Function ShouldChangePrintInfo ( _
	newPrintInfo As NSPrintInfo _
) As Boolean
virtual bool ShouldChangePrintInfo(
	NSPrintInfo^ newPrintInfo
newPrintInfo (NSPrintInfo)
The NSPrintInfo object that is the result of the user approving the page layout panel presented by runPageLayout:.
Return Value
YES by default; subclasses can override this method to return NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)