[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IThreeDFormat.Perspective

Perspective Property

Perspective

Gets or sets whether the extrusion appears in perspective.

Use this property to get or set whether the extrusion appears in perspective for a shape's 3-D formatting.

Declaration
int Perspective { get; set; }
Property Perspective As Integer
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 1, 1, 100, 100);
shape.ThreeD.Depth = 7;
shape.ThreeD.Perspective = 1;
int perspective = shape.ThreeD.Perspective;