public void ToggleVisiblity() { bool flag = DocUtil.GetEntityVisibility(this.ParentDataset.ParentDocument, this.RasterObjectId); flag = !flag; DocUtil.SetEntityVisibility(this.ParentDataset.ParentDocument, this.RasterObjectId, flag); }
public bool SetVisbility(bool visible) { return(DocUtil.SetEntityVisibility(this.ParentDataset.ParentDocument, this.RasterObjectId, visible)); }