Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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