[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IThreeDFormat.Z

Z Property

Z

Gets or sets the 3-D Z position of the specified IThreeDFormat object.

Use this property to get or set the depth position of a shape's 3-D formatting. This value is not the stacking order used to layer shapes. The IThreeDFormat instance is typically obtained from ThreeD.

Declaration
double Z { get; set; }
Property Z As Double
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 1, 1, 100, 100);
shape.ThreeD.Depth = 7;
shape.ThreeD.Z = 20;
double z = shape.ThreeD.Z;