共用方式為


CTLine.GetBounds(CTLineBoundsOptions) 方法

定義

根據指定的 CTLineBoundsOptions ,傳回線條界限做為矩形。

public CoreGraphics.CGRect GetBounds (CoreText.CTLineBoundsOptions options);
member this.GetBounds : CoreText.CTLineBoundsOptions -> CoreGraphics.CGRect

參數

options
CTLineBoundsOptions

決定要傳回的印刷樣式資訊種類。

傳回

以您傳遞選項的參數為基礎的周框。

備註

此函式可以根據傳遞的選項傳回不同的界限。

適用於