PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderPie Class / GetFlag Method
Mask of flag.

In This Topic
    GetFlag Method (RenderPie)
    In This Topic
    Returns the value of flag. The object has private field: private int _flags; This field can be used for storing various boolean properties (CanSplitHorz, CanSplitVert etc), for example CanSplitHorz property defined as: public bool CanSplitHorz { get { return GetFlag(c_flgCanSplitVert); } set { SetFlag(c_flgCanSplitVert, value); } }
    Syntax
    'Declaration
     
    Protected Function GetFlag( _
       ByVal flagMask As Integer _
    ) As Boolean
    protected bool GetFlag( 
       int flagMask
    )

    Parameters

    flagMask
    Mask of flag.

    Return Value

    Returns true if specified flag is set.
    See Also