# Function Reference

# _GDIPlus_CustomLineCapSetStrokeCaps

Sets the distance between the base cap to the start of the line

#include <GDIPlus.au3>
_GDIPlus_CustomLineCapSetStrokeCaps ( $hCustomLineCap, $iStartCap, $iEndCap )

## Parameters

$hCustomLineCap | Pointer to a CustomLineCap object
$iStartCap | Line cap that will be used for the start of the line to be drawn
$iEndCap | Line cap that will be used for the end of the line to be drawn

## Return Value

Success: | True.
Failure: | False and sets the @error flag to non-zero, @extended may contain GPSTATUS error code ($GDIP_ERR* see GPIPlusConstants.au3).

## Related

_GDIPlus_CustomLineCapGetStrokeCaps

## See Also

Search GdipSetCustomLineCapStrokeCaps in MSDN Library.