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
- alternatePosition
- Boolean
- inDisplayOrder
- Boolean
- positions
- NFloat[]
- charIndexes
-
IntPtr[]
nativeint[]
Returns
unativeint
The number of insertion points returned in positions and charIndexes.