Function CTFrameGetStringRange

Source
pub unsafe extern "C-unwind" fn CTFrameGetStringRange(
    frame: &CTFrame,
) -> CFRange
Available on crate feature CTFrame only.
Expand description

Returns the range of characters that were originally requested to fill the frame.

Parameter frame: The frame that you want to get the character range from.

Returns: This function will return a CFRange containing the backing store range of characters that were originally requested to fill the frame. If the function call is not successful, then an empty range will be returned.