Sets the width of the text block.
Original signature is '- (void)setContentWidth:(CGFloat)val type:(NSTextBlockValueType)type'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetContentWidthType( CGFloat val, NSTextBlockValueType type )
Public Overridable Sub SetContentWidthType ( _ val As CGFloat, _ type As NSTextBlockValueType _ )
public: virtual void SetContentWidthType( CGFloat val, NSTextBlockValueType type )
Parameters
- val (CGFloat)
- The new value for the width.
- type (NSTextBlockValueType)
- The type of value being provided. This controls how val is interpreted.
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)