MonobjcMonobjc Documented Class Library
CreateWithFilename Method (filename)
NamespacesMonobjc.ApplicationServicesCGDataProviderCreateWithFilename(String)

Creates a Quartz direct-access data provider that uses a file to supply data.

Original signature is 'CGDataProviderRef CGDataProviderCreateWithFilename( const char *filename );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CreateWithFilename(
	string filename
)
Public Shared Function CreateWithFilename ( _
	filename As String _
) As IntPtr
public:
static IntPtr CreateWithFilename(
	String^ filename
)
Parameters
filename (String)
MISSING
Return Value
A new data provider or NULL if the file could not be opened. You are responsible for releasing this object using CGDataProviderRelease.
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)