MonobjcMonobjc Documented Class Library
GetSize Method (layer)
NamespacesMonobjc.ApplicationServicesCGLayerGetSize(IntPtr)

Returns the width and height of a CGLayer object.

Original signature is 'CGSize CGLayerGetSize ( CGLayerRef layer );'

Available in Mac OS X version 10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGSize GetSize(
	IntPtr layer
)
Public Shared Function GetSize ( _
	layer As IntPtr _
) As CGSize
public:
static CGSize GetSize(
	IntPtr layer
)
Parameters
layer (IntPtr)
MISSING
Return Value
The width and height of the layer, in default user space coordinates.
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)