AddConnectorInPixel Method

Spread.Services Documentation
AddConnectorInPixel Method
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C#
C#

GrapeCity.Documents.Spread.Drawing Namespace > IShapes Interface : AddConnectorInPixel Method

The connector type to add.
The horizontal position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
The vertical position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
The horizontal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
The veritcal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
Creates a connector. Returns the IShape object that represents the new connector.
Syntax

- C#

    IShape AddConnectorInPixel(
       ConnectorType type,
       System.float beginX,
       System.float beginY,
       System.float endX,
       System.float endY
    )

#### Parameters

type
  The connector type to add.
beginX
  The horizontal position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
beginY
  The vertical position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
endX
  The horizontal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
endY
  The veritcal position (in pixels) of the connector's end point relative to the upper-left corner of the document.

#### Return Value

The IShape object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

#### Reference

IShapes Interface
IShapes Members

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback