NSLayoutManager.GetLineFragmentInsertionPoints 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, IntPtr, IntPtr) | |
GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, nfloat[], nint[]) |
填滿並填入線條片段插入點的位置和索引。 |
GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, IntPtr, IntPtr)
[Foundation.Export("getLineFragmentInsertionPointsForCharacterAtIndex:alternatePositions:inDisplayOrder:positions:characterIndexes:")]
protected virtual nuint GetLineFragmentInsertionPoints (nuint characterIndex, bool alternatePositions, bool inDisplayOrder, IntPtr positions, IntPtr characterIndexes);
abstract member GetLineFragmentInsertionPoints : nuint * bool * bool * nativeint * nativeint -> nuint
override this.GetLineFragmentInsertionPoints : nuint * bool * bool * nativeint * nativeint -> nuint
參數
- characterIndex
- System.System.UIntPtr System.unativeint
- alternatePositions
- Boolean
- inDisplayOrder
- Boolean
- positions
-
IntPtr
nativeint
- characterIndexes
-
IntPtr
nativeint
傳回
System.System.UIntPtr
System.unativeint
- 屬性
適用於
GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, nfloat[], nint[])
填滿並填入線條片段插入點的位置和索引。
public nuint GetLineFragmentInsertionPoints (nuint charIndex, bool alternatePosition, bool inDisplayOrder, nfloat[] positions, nint[] charIndexes);
member this.GetLineFragmentInsertionPoints : nuint * bool * bool * nfloat[] * nint[] -> nuint
參數
- charIndex
- System.System.UIntPtr System.unativeint
- alternatePosition
- Boolean
- inDisplayOrder
- Boolean
- positions
- nfloat[]
- charIndexes
-
System.System.IntPtr[]
System.nativeint[]
傳回
System.System.UIntPtr
System.unativeint
和 中傳回的插入點數目。