Technical Reference > Graphics Builder Automation Interface > Object Drawing and Property Functions > DrawPipeStart

DrawPipeStart

Initiates the process of drawing a pipe on the active page by defining a starting point that DrawPipeSection can be applied to.

Syntax

DrawPipeStart(XPosition, YPosition)

XPosition:

Distance in pixels from the left of the page to the point where you would like the section of pipe to start.

YPosition:

Distance in pixels from the top of the page to the point where you would like the section of pipe to start.

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

Related Functions

DrawPipeSection, DrawPipeEnd

Example

GraphicsBuilder.DrawPipeStart 50, 290
GraphicsBuilder.DrawPipeSection 200, 350
GraphicsBuilder.DrawPipeSection 350, 250
GraphicsBuilder.DrawPipeSection 400, 350
GraphicsBuilder.DrawPipeEnd