MonobjcMonobjc Documented Class Library
PrintingAdjustmentInLayoutManagerForNominallySpacedGlyphRangePackedGlyphsCount Method (layoutMgr, nominallySpacedGlyphsRange, packedGlyphs, packedGlyphsCount)
NamespacesMonobjc.AppKitNSTypesetterPrintingAdjustmentInLayoutManagerForNominallySpacedGlyphRangePackedGlyphsCount(NSLayoutManager, NSRange, IntPtr, NSUInteger)

Returns the interglyph spacing in the specified range when sent to a printer.

Original signature is '+ (NSSize)printingAdjustmentInLayoutManager:(NSLayoutManager *)layoutMgr forNominallySpacedGlyphRange:(NSRange)nominallySpacedGlyphsRange packedGlyphs:(const unsigned char *)packedGlyphs count:(NSUInteger)packedGlyphsCount'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSSize PrintingAdjustmentInLayoutManagerForNominallySpacedGlyphRangePackedGlyphsCount(
	NSLayoutManager layoutMgr,
	NSRange nominallySpacedGlyphsRange,
	IntPtr packedGlyphs,
	NSUInteger packedGlyphsCount
)
Public Shared Function PrintingAdjustmentInLayoutManagerForNominallySpacedGlyphRangePackedGlyphsCount ( _
	layoutMgr As NSLayoutManager, _
	nominallySpacedGlyphsRange As NSRange, _
	packedGlyphs As IntPtr, _
	packedGlyphsCount As NSUInteger _
) As NSSize
public:
static NSSize PrintingAdjustmentInLayoutManagerForNominallySpacedGlyphRangePackedGlyphsCount(
	NSLayoutManager^ layoutMgr, 
	NSRange nominallySpacedGlyphsRange, 
	IntPtr packedGlyphs, 
	NSUInteger packedGlyphsCount
)
Parameters
layoutMgr (NSLayoutManager)
The layout manager that will do the drawing.
nominallySpacedGlyphsRange (NSRange)
The range of the glyphs whose spacing is desired.
packedGlyphs (IntPtr)
The glyphs as they are packed for sending to be drawn in layoutMgr.
packedGlyphsCount (NSUInteger)
The number of glyphs in packedGlyphs.
Return Value
The interglyph spacing in the specified range when sent to a printer. If the font metrics of the font used for displaying text on the screen is different from the font metrics of the font used in printing, then this interglyph spacing may need to be adjusted slightly to match that used on the screen.
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)