public virtual vtkAreaLayoutStrategy GetLayoutStrategy() { vtkAreaLayoutStrategy vtkAreaLayoutStrategy = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkAreaLayout.vtkAreaLayout_GetLayoutStrategy_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkAreaLayoutStrategy = (vtkAreaLayoutStrategy)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkAreaLayoutStrategy.Register(null); } } return(vtkAreaLayoutStrategy); }
public new static vtkAreaLayoutStrategy SafeDownCast(vtkObjectBase o) { vtkAreaLayoutStrategy vtkAreaLayoutStrategy = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkAreaLayoutStrategy.vtkAreaLayoutStrategy_SafeDownCast_10((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkAreaLayoutStrategy = (vtkAreaLayoutStrategy)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkAreaLayoutStrategy.Register(null); } } return(vtkAreaLayoutStrategy); }