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

In This Topic
    GetFlag Method (RenderTable)
    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