Skip to main content
View as Markdown

Rect class

No description yet.

public class Rect : IRect

Namespace: DXP · Assembly: Altium.SDK.Interfaces

Implements: IRect

Constructors​

public Rect();
public Rect(SRect argVal);
public Rect(IRect argVal);

Properties​

PropertyTypeAccessDescription
Bottomintget; set
BottomRightSPointget; set
DataSRectget; set
Leftintget; set
Rightintget; set
Topintget; set
TopLeftSPointget; set

Bottom​

No description yet.

int Bottom { get; set; }

Type: int · Access: read/write

BottomRight​

No description yet.

SPoint BottomRight { get; set; }

Type: SPoint · Access: read/write

Data​

No description yet.

SRect Data { get; set; }

Type: SRect · Access: read/write

Left​

No description yet.

int Left { get; set; }

Type: int · Access: read/write

No description yet.

int Right { get; set; }

Type: int · Access: read/write

Top​

No description yet.

int Top { get; set; }

Type: int · Access: read/write

TopLeft​

No description yet.

SPoint TopLeft { get; set; }

Type: SPoint · Access: read/write

Methods​

MethodReturnsDescription
GetBottomint
GetBottomRightIPoint
GetLeftint
GetRightint
GetTopint
GetTopLeftIPoint

GetBottom​

No description yet.

int GetBottom();

Returns: int

GetBottomRight​

No description yet.

IPoint GetBottomRight();

Returns: IPoint

GetLeft​

No description yet.

int GetLeft();

Returns: int

GetRight​

No description yet.

int GetRight();

Returns: int

GetTop​

No description yet.

int GetTop();

Returns: int

GetTopLeft​

No description yet.

IPoint GetTopLeft();

Returns: IPoint

Returned by​

IGeneratedPage.GetTileRectangle, IGeneratedPage.GetViewPort, ITOCNode.BoundingRectangle, ITOCNode.HighlightRectangle, IPCB_DocumentPainterView.ClientRect, IChart.GetClipRect, IPainter.ClipRect, IPainter.ViewRect, IPrimitive.BoundingRect

Accepted by​

IGUIManager.InitTransparentToolbars, IPreviewImage.DrawLargeImageProportional, IHighlightedDocument.HL_Register_Area, ITOCNode.AddChild, IPCB_GraphicalView.RenderToDC, IPCB_GraphicalView.RenderToDCTransparent, IPainter.DoFillRect, IPainter.DrawRect, IPainter.DrawSelectionButton, IPainter.DrawWaveScrollArrow, ISDFGraphicalView.ZoomToRect