NSLayoutManager.GetLineFragmentInsertionPoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetLineFragmentInsertionPoints(UIntPtr, Boolean, Boolean, IntPtr, IntPtr) | |
| GetLineFragmentInsertionPoints(UIntPtr, Boolean, Boolean, NFloat[], IntPtr[]) |
Fills |
GetLineFragmentInsertionPoints(UIntPtr, Boolean, Boolean, IntPtr, IntPtr)
[Foundation.Export("getLineFragmentInsertionPointsForCharacterAtIndex:alternatePositions:inDisplayOrder:positions:characterIndexes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual UIntPtr GetLineFragmentInsertionPoints(UIntPtr characterIndex, bool alternatePositions, bool inDisplayOrder, IntPtr positions, IntPtr characterIndexes);
[<Foundation.Export("getLineFragmentInsertionPointsForCharacterAtIndex:alternatePositions:inDisplayOrder:positions:characterIndexes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLineFragmentInsertionPoints : unativeint * bool * bool * nativeint * nativeint -> unativeint
override this.GetLineFragmentInsertionPoints : unativeint * bool * bool * nativeint * nativeint -> unativeint
Parameters
- characterIndex
-
UIntPtr
unativeint
- alternatePositions
- Boolean
- inDisplayOrder
- Boolean
- positions
-
IntPtr
nativeint
- characterIndexes
-
IntPtr
nativeint
Returns
unativeint
- Attributes
Applies to
GetLineFragmentInsertionPoints(UIntPtr, Boolean, Boolean, NFloat[], IntPtr[])
Fills positions and charIndexes with the positions and indices of the insertion points for a line fragment.
public UIntPtr GetLineFragmentInsertionPoints(UIntPtr charIndex, bool alternatePosition, bool inDisplayOrder, System.Runtime.InteropServices.NFloat[] positions, IntPtr[] charIndexes);
member this.GetLineFragmentInsertionPoints : unativeint * bool * bool * System.Runtime.InteropServices.NFloat[] * nativeint[] -> unativeint
Parameters
- charIndex
-
UIntPtr
unativeint
A character index within the line fragment.
- alternatePosition
- Boolean
Whether to use the alternate insertion point position.
- inDisplayOrder
- Boolean
Whether to return the insertion points in display order rather than logical order.
- positions
- NFloat[]
An output buffer that receives the horizontal positions of each insertion point.
- charIndexes
-
IntPtr[]
nativeint[]
An output buffer that receives the character index for each insertion point.
Returns
unativeint
The number of insertion points returned in positions and charIndexes.