[]
        
(Showing Draft Content)

C1.C1Preview.RenderObject.GetFlag

GetFlag Method

GetFlag(int)

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); }
}
Declaration
protected bool GetFlag(int flagMask)
Protected Function GetFlag(flagMask As Integer) As Boolean
Parameters
Type Name Description
int flagMask

Mask of flag.

Returns
Type Description
bool

Returns true if specified flag is set.