MonobjcMonobjc Documented Class Library
GetLength Method (string)
NamespacesMonobjc.ApplicationServicesCGPDFStringGetLength(IntPtr)

Returns the number of bytes in a PDF string.

Original signature is 'size_t CGPDFStringGetLength ( CGPDFStringRef string );'

Available in Mac OS X version 10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSUInteger GetLength(
	IntPtr string
)
Public Shared Function GetLength ( _
	string As IntPtr _
) As NSUInteger
public:
static NSUInteger GetLength(
	IntPtr string
)
Parameters
string (IntPtr)
MISSING
Return Value
Returns the number of bytes referenced by the string, or 0 if the string is NULL.
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)