FlexReport for .NET | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document Namespace / Utils Class / SetFlag Method
The flag to set.
The flag mask.
If true to set flag; reset otherwise.

In This Topic
    SetFlag Method (Utils)
    In This Topic
    Sets the flags by mask.
    Syntax
    'Declaration
     
    Public Shared Sub SetFlag( _
       ByRef flags As Integer, _
       ByVal flagMask As Integer, _
       ByVal value As Boolean _
    ) 
    public static void SetFlag( 
       ref int flags,
       int flagMask,
       bool value
    )

    Parameters

    flags
    The flag to set.
    flagMask
    The flag mask.
    value
    If true to set flag; reset otherwise.
    See Also