- PropertyValue setVal = new Tizen.NUI.PropertyValue(viewBox);
- SetProperty(Interop.CanvasView.PropertyViewBoxGet(), setVal);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- setVal?.Dispose();
- }
-
- /// <summary>
- /// Get size of CanvasView's viewbox.
- /// </summary>
- /// <returns>The size of viewBox</returns>
- [EditorBrowsable(EditorBrowsableState.Never)]
- public Size2D GetViewBoxSize()
- {
- Size2D retVal = new Size2D(0, 0);
- PropertyValue viewBoxPropertyValue = GetProperty(Interop.CanvasView.PropertyViewBoxGet());
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- viewBoxPropertyValue?.Get(retVal);
- viewBoxPropertyValue?.Dispose();
- return retVal;