lcBlockAddMline Home

Adds a new Multiline object into a block.

 HANDLE lcBlockAddMline (
   HANDLE hBlock,
   int FitType,
   BOOL bClosed
 );

Parameters
hBlock
  Handle to a block.
FitType
  Fit type. Defines how a multiline's curve fits to its vertices. Can be 0 or one of the following constants:

Value Fit type
LC_PLFIT_BULGE Direct lines or arcs between vertices.
LC_PLFIT_QUAD Quadratic B-spline.
LC_PLFIT_CUBIC Cubic B-spline.
LC_PLFIT_ROUND Fillets in vertices.

bClosed
  If TRUE, then additional multiline segment will be added, it connects last and first vertices.
If FALSE, then multiline will be non-closed.

Return Value

  Handle to created Multiline object or NULL if the function fails.

See Also

  Code sample,   lcMlineAddVer