MonobjcMonobjc Documented Class Library
GetBytesPerRow Method (image)
NamespacesMonobjc.ApplicationServicesCGImageGetBytesPerRow(IntPtr)

Returns the number of bytes allocated for a single row of a bitmap image.

Original signature is 'size_t CGImageGetBytesPerRow ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSUInteger GetBytesPerRow(
	IntPtr image
)
Public Shared Function GetBytesPerRow ( _
	image As IntPtr _
) As NSUInteger
public:
static NSUInteger GetBytesPerRow(
	IntPtr image
)
Parameters
image (IntPtr)
MISSING
Return Value
The number of bytes used in memory for each row of the specified bitmap image (or image mask).
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)