Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / RenderContextBase Class / SetLineSize Method
The size (thickness) of the line in pixels
If true, calls EnableThickLines to set the correct shader
If true sets the size regardless of the current one, else sets it only if it's different from the current one.

In This Topic
    SetLineSize Method
    In This Topic
    Sets the line size and enables (or disables) the thick lines rendering.
    Syntax
    'Declaration
     
    Public Function SetLineSize( _
       ByVal size As Single, _
       Optional ByVal setShader As Boolean, _
       Optional ByVal force As Boolean _
    ) As Single
    public float SetLineSize( 
       float size,
       bool setShader,
       bool force
    )

    Parameters

    size
    The size (thickness) of the line in pixels
    setShader
    If true, calls EnableThickLines to set the correct shader
    force
    If true sets the size regardless of the current one, else sets it only if it's different from the current one.

    Return Value

    The previous value.
    See Also