Sets the width of all edges of a specified layer of the text block.
Original signature is '- (void)setWidth:(CGFloat)val type:(NSTextBlockValueType)type forLayer:(NSTextBlockLayer)layer'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetWidthTypeForLayer( CGFloat val, NSTextBlockValueType type, NSTextBlockLayer layer )
Public Overridable Sub SetWidthTypeForLayer ( _ val As CGFloat, _ type As NSTextBlockValueType, _ layer As NSTextBlockLayer _ )
public: virtual void SetWidthTypeForLayer( CGFloat val, NSTextBlockValueType type, NSTextBlockLayer layer )
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.
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)