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

DrawPipeEnd

Terminates the drawing of a pipe on the active page. To work successfully, this function needs to follow an instance of DrawPipeSection.

Syntax

DrawPipeEnd

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, DrawPipeStart

Example

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