Enumeration

NSTextBlockDimension

The following constants specify values used by the methods setValue:type:forDimension:, valueForDimension:, and valueTypeForDimension: to specify text block dimensions.

Declaration

typedef enum NSTextBlockDimension : NSUInteger {
    ...
} NSTextBlockDimension;

Topics

Constants

NSTextBlockWidth

Width of the text block.

NSTextBlockMinimumWidth

Minimum width of the text block.

NSTextBlockMaximumWidth

Maximum width of the text block.

NSTextBlockHeight

Height of the text block.

NSTextBlockMinimumHeight

Minimum height of the text block.

NSTextBlockMaximumHeight

Maximum height of the text block.

See Also

Working with dimensions of content

- setValue:type:forDimension:

Sets a dimension of the text block.

- valueForDimension:

Returns the value of the specified text block dimension.

- valueTypeForDimension:

Returns the value type of the specified text block dimension.

- setContentWidth:type:

Sets the width of the text block.

contentWidth

The width of the text block.

contentWidthValueType

The type of value stored for the text block width.

NSTextBlockValueType

The following constants specify values used by the methods setValue:type:forDimension: and valueTypeForDimension: to specify text block value types.