MonobjcMonobjc Documented Class Library
SetWidthTypeForLayerEdge Method (val, type, layer, edge)
NamespacesMonobjc.AppKitNSTextBlockSetWidthTypeForLayerEdge(CGFloat, NSTextBlockValueType, NSTextBlockLayer, NSRectEdge)

Sets the width of a specified edge of a specified layer of the text block.

Original signature is '- (void)setWidth:(CGFloat)val type:(NSTextBlockValueType)type forLayer:(NSTextBlockLayer)layer edge:(NSRectEdge)edge'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetWidthTypeForLayerEdge(
	CGFloat val,
	NSTextBlockValueType type,
	NSTextBlockLayer layer,
	NSRectEdge edge
)
Public Overridable Sub SetWidthTypeForLayerEdge ( _
	val As CGFloat, _
	type As NSTextBlockValueType, _
	layer As NSTextBlockLayer, _
	edge As NSRectEdge _
)
public:
virtual void SetWidthTypeForLayerEdge(
	CGFloat val, 
	NSTextBlockValueType type, 
	NSTextBlockLayer layer, 
	NSRectEdge edge
)
Parameters
val (CGFloat)
The new value for the specified edge width.
type (NSTextBlockValueType)
The type of value being provided. This controls how val is interpreted.
layer (NSTextBlockLayer)
The layer of the text block to modify.
edge (NSRectEdge)
The edge of the layer to modify.
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)