/// <summary> /// Returns the capabilities mask for the document /// </summary> /// <returns></returns> public int getFileCapabilities() { if (_handle != 0) { return(_capabilities); } else { Error_Control_Block ecb = new Error_Control_Block(); int caps = 0, filetype = 0; Check(ISYS11df.IGR_Get_Stream_Type(NeedStream(), ref caps, ref filetype, ref ecb), ecb); return(caps); } }