Instance Method

valueForDimension:

Returns the value of the specified text block dimension.

Declaration

- (CGFloat)valueForDimension:(NSTextBlockDimension)dimension;

Return Value

The value for the specified dimension. This value should be interpreted according to the value type returned by valueTypeForDimension:.

See Also

Working with dimensions of content

- setValue:type:forDimension:

Sets a dimension of the text block.

- valueTypeForDimension:

Returns the value type of the specified text block dimension.

contentWidth

The width of the text block.

contentWidthValueType

The type of value stored for the text block width.