Rect3D.IsEmpty Property

Gets a value that indicates whether this Rect3D is the Empty Rect3D.

Namespace:  System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public bool IsEmpty { get; }

Property Value

Type: System.Boolean
true if this Rect3D is the empty rectangle; false otherwise.

If Size is zero, this Rect3D still contains a zero- or 1-dimensional set of points; therefore, this property should not be used to check for zero area.

Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft