Skip to main content
View as Markdown

ISch_Polygon interface

Polygons are multi-sided graphical elements. The vertices of a polygon object denote the link of lines to describe its outline.

public interface ISch_Polygon : ISch_GraphicalObject

Namespace: SCH · Assembly: Altium.SDK.Interfaces

Inherits: ISch_BasicContainer → ISch_GraphicalObject

Derived: ISch_BasicPolyline, ISch_CollapsiblePolygon

Remarks​

ISch_Polygon interface

Properties​

PropertyTypeAccessDescription
IsSolidboolget; set
LineWidthTSizeget; setThe LineWidth property defines the border width of the polygon with one of the following values from the TSize enumerated type.
Transparentboolget; set
VertexPointget; set
VerticesCountintget; set

IsSolid​

No description yet.

bool GetState_IsSolid();
void SetState_IsSolid(bool argValue);

Type: bool · Access: read/write

LineWidth​

The LineWidth property defines the border width of the polygon with one of the following values from the TSize enumerated type.

TSize GetState_LineWidth();
void SetState_LineWidth(TSize argValue);

Type: TSize · Access: read/write

The accessors are extension methods of ISch_PolygonHelper (using SCH;).

See also: TSize

Transparent​

No description yet.

bool GetState_Transparent();
void SetState_Transparent(bool argB);

Type: bool · Access: read/write

Vertex​

No description yet.

Point GetState_Vertex(int argI);
void SetState_Vertex(int argI, Point argLocation);

Type: Point · Access: read/write · Index: argI (int)

The accessors are extension methods of ISch_PolygonHelper (using SCH;).

VerticesCount​

No description yet.

int GetState_VerticesCount();
void SetState_VerticesCount(int argValue);

Type: int · Access: read/write

Methods​

MethodReturnsDescription
ClearAllVerticesvoid
InsertVertexbool
RemoveVertexbool

ClearAllVertices​

No description yet.

void ClearAllVertices();

Returns: nothing (void)

InsertVertex​

No description yet.

bool InsertVertex(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: bool

RemoveVertex​

No description yet.

bool RemoveVertex(ref int argIndex);
ParameterTypePassing
argIndexintref

Returns: bool

Inherited members​