語言

PolylineAnnotation.IsFreeDrawPlacement 屬性

定義

取得或設定一個旗標,決定是否應該使用自由抽取模式放置註解。

public:
 virtual property bool IsFreeDrawPlacement { bool get(); void set(bool value); };
public virtual bool IsFreeDrawPlacement { get; set; }
member this.IsFreeDrawPlacement : bool with get, set
Public Overridable Property IsFreeDrawPlacement As Boolean

屬性值

true註解是否應該使用自由抽取模式放置;否則,。 false 預設值為 false。

備註

呼叫該方法時支援 BeginPlacement 兩種不同的放置模式。 將屬性設定 IsFreeDrawPlacement 為 , true 從預設模式切換到自由繪圖模式,讓使用者在移動滑鼠游標時也能自由繪製。

為了讓使用者自由繪製註解,你也必須將屬性設定 AllowPathEditing 為 true。

適用於