I need to know is selected shape is Line shape.
Shape has property "Type" (returns enum MsoShapeType). When I Insert -> Shapes -> Rectangle and check this