Spread Windows Forms 7.0 Product Documentation
LineShape Class
Members  See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace : LineShape Class


Glossary Item Box

Represents a line shape object.

Object Model

LineShape ClassPicture ClassIBorder InterfaceElements ClassObject ClassPicture ClassPSGradient Class

Syntax

Visual Basic (Declaration) 
Public Class LineShape 
   Inherits PSShape
   Implements FarPoint.Win.IElement, FarPoint.Win.IElementEnhanced, FarPoint.Win.ISerializeSupportIPdfSupportPSObject 
Visual Basic (Usage)Copy Code
Dim instance As LineShape
C# 
public class LineShape : PSShape, FarPoint.Win.IElement, FarPoint.Win.IElementEnhanced, FarPoint.Win.ISerializeSupportIPdfSupportPSObject  

Remarks

The line shape does not have an interior (as other shapes do) and thus does not paint many of its properties such as back ground color, background image, text picture, etc. Since these properties are inherited and public there is no way to permanently hide them.

The maximum thickness for a line is 64 pixels.

Inheritance Hierarchy

System.Object
   FarPoint.Win.ElementWindowless
      FarPoint.Win.Spread.DrawingSpace.PSObject
         FarPoint.Win.Spread.DrawingSpace.PSShape
            FarPoint.Win.Spread.DrawingSpace.LineShape

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.