Returns the width of an edge of a specified layer of the text block.
Original signature is '- (CGFloat)widthForLayer:(NSTextBlockLayer)layer edge:(NSRectEdge)edge'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public virtual CGFloat WidthForLayerEdge( NSTextBlockLayer layer, NSRectEdge edge )
Public Overridable Function WidthForLayerEdge ( _ layer As NSTextBlockLayer, _ edge As NSRectEdge _ ) As CGFloat
public: virtual CGFloat WidthForLayerEdge( NSTextBlockLayer layer, NSRectEdge edge )

- layer (NSTextBlockLayer)
- The layer to examine.
- edge (NSRectEdge)
- The edge of the layer to examine.

The width of the edge of layer. This value must be interpreted according to the value type returned by widthValueTypeForLayer:edge:.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)