bRet = fcMTblLineDef.ReplaceUndefinedFrom( cLineDef )

Replaces the undefined values of the calling instance with defined values of another instance.

Parameters
cLineDef
fcMTblLineDef: The line definition

Return
Boolean: TRUE if the function succeeds, FALSE if it fails

Example
fcMTblLineDef: LineDef1
fcMTblLineDef: LineDef2
...
! After initialitation all values are undefined
LineDef1.Init()
! Set thickness of the first line definition
LineDef1.Thickness = 3
! Define style and color of the second line definition
LineDef2.Style = MTLS_SOLID
LineDef2.Color = COLOR_Blue
! Replace the undefined values of the first line definition with the defined values of the second line definition
Call LineDef1.ReplaceUndefinedFrom( LineDef2 )
! LineDef1 has now the following values: Style = MTLS_SOLID, Color = COLOR_Blue, Thickness = 3

See also
fcMTblLineDef

Created with the Personal Edition of HelpNDoc: Free HTML Help documentation generator