編輯

共用方式為


PolylineAnnotation.GraphicsPath Property

Definition

Gets or sets the path points of a polyline annotation at run time.

public:
 virtual property System::Drawing::Drawing2D::GraphicsPath ^ GraphicsPath { System::Drawing::Drawing2D::GraphicsPath ^ get(); void set(System::Drawing::Drawing2D::GraphicsPath ^ value); };
[System.ComponentModel.Browsable(false)]
public virtual System.Drawing.Drawing2D.GraphicsPath GraphicsPath { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.GraphicsPath : System.Drawing.Drawing2D.GraphicsPath with get, set
Public Overridable Property GraphicsPath As GraphicsPath

Property Value

A GraphicsPath object with the polyline shape.

Attributes

Remarks

A polyline must use coordinates relative to an annotation object, where (0,0) denotes the top-left coordinates and (100,100) denotes the bottom-right coordinates of the annotation.

This property is not accessible at design time, when you should use the GraphicsPathPoints property instead.

Applies to