[]
Translates a point from designer coordinates to coordinates relative to a specified section.
public Point PointToSection(object section, Point point)
Type | Name | Description |
---|---|---|
object | section | The section to which the point's coordinates will be translated. Must not be null. |
Point | point | The point in designer coordinates that needs to be translated. |
Type | Description |
---|---|
Point | A Point representing the translated coordinates within the context of the specified section. |
Type | Condition |
---|---|
NullReferenceException | Thrown if the |