MonobjcMonobjc Documented Class Library
ConnectObjectWithKeyToObjectWithKey Method (sourceObject, sourceKey, targetObject, targetKey)
NamespacesMonobjc.QuartzCoreCIFilterGeneratorConnectObjectWithKeyToObjectWithKey(Id, NSString, Id, NSString)

Adds an object to the filter chain.

Original signature is '- (void)connectObject:(id)sourceObject withKey:(NSString *)sourceKey toObject:(id)targetObject withKey:(NSString *)targetKey'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ConnectObjectWithKeyToObjectWithKey(
	Id sourceObject,
	NSString sourceKey,
	Id targetObject,
	NSString targetKey
)
Public Overridable Sub ConnectObjectWithKeyToObjectWithKey ( _
	sourceObject As Id, _
	sourceKey As NSString, _
	targetObject As Id, _
	targetKey As NSString _
)
public:
virtual void ConnectObjectWithKeyToObjectWithKey(
	Id^ sourceObject, 
	NSString^ sourceKey, 
	Id^ targetObject, 
	NSString^ targetKey
)
Parameters
sourceObject (Id)
A CIFilter object, a CIImage object, or a the path (an NSString or NSURL object) to an image.
sourceKey (NSString)
The key that specifies the source object. For example, if the source is the output image of a filter, pass the outputImage key. Pass nil if the source object is used directly.
targetObject (Id)
The object that to link the source object to.
targetKey (NSString)
The key that specifies the target for the source. For example, if you are connecting the source to the input image of a CIFilter object, you would pass the inputImage key.
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)