[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.SpreadShapesContainer

SpreadShapesContainer Class

Represents the presentation space object container.

Inheritance
SpreadShapesContainer
Namespace: FarPoint.Win.Spread.DrawingSpace
Assembly: FarPoint.Win.Spread.dll
Syntax
public class SpreadShapesContainer : PSContainer, ISerializeSupport, ISerializable, IDeserializationCallback, IPdfSupportPSObject
Public Class SpreadShapesContainer
    Inherits PSContainer
    Implements ISerializeSupport, ISerializable, IDeserializationCallback, IPdfSupportPSObject

Constructors

Name Description
SpreadShapesContainer(SheetView)

Creates a new presentation space object container for the specified sheet.

SpreadShapesContainer(SerializationInfo, StreamingContext)

Creates a new container object from serialization.

Properties

Name Description
BackColor

Gets or sets the background color for the container.

BackgroundImage

Gets or sets the background image for the container.

BottomRow

Gets or sets the bottom row of the container.

CanFocus

Gets or sets whether the container can receive focus.

CanMove

Gets or sets whether the user is allowed to move the container.

CanSize

Gets or sets whether the user is allowed to size the container.

ColumnPane

Gets or sets the column pane (viewport).

Count

Gets the number of children of the child control container.

Gradient

Gets or sets the gradient for the shape container.

LeftColumn

Gets or sets the left column of the container.

LeftOffset

Gets or sets the left offset of the container.

Location

Gets or sets the location of the shape container.

Name

Gets or sets the name of the shape container.

Parent

Gets or sets the parent control for the shape container.

RightColumn

Gets or sets the right column of the container.

RowPane

Gets or sets the row pane (viewport).

Size

Gets or sets the size of the shape container.

Text

Gets or sets the text for the container.

TopOffset

Gets or sets the top offset of the container.

TopRow

Gets or sets the top row of the container.

XOffset

Gets or sets the X-coordinate offset of the container.

YOffset

Gets or sets the y-coordinate offset of the container.

Methods

Name Description
AddShape(PSShape)

Adds a shape to the container.

ChildContains(Point, bool)

Gets the child object in this container that contains the screen location.

ClearShapes()

Removes all shapes from the container.

Deserialize(XmlNodeReader)

Loads the object from XML.

DoMouseDown(object, MouseEventArgs)

Occurs on mouse down.

Find(int)

Finds an object in the collection that matches the specified unique identifier.

GetObjectData(SerializationInfo, StreamingContext)

Serializes the shapes of the container.

GetShape(string)

Gets a shape in the container.

IsShapeInView(PSShape, int, int, int, int)

Determines if a shape is currently within the view determined by the row and column parameters.

JoinShapes(string, string)

Joins two shapes.

OnLostFocus(EventArgs)

Occurs when focus is lost.

OnShapeAdded(object, ObjectChangedEventArgs)

Fires event when a shape is added into container.

OnShapeRemoved(object, ObjectChangedEventArgs)

Fires event when a shape is removed from container.

PaintElements(Graphics, Rectangle)

Paints any shapes in the container.

Print(PdfGraphics, Rectangle, float)

Prints the elements of the shapes in the container.

Print(Graphics, Rectangle)

Prints the elements of the shapes in the container.

Print(Graphics, Rectangle, float)

Prints the elements of the shapes in the container.

PrintElements(Graphics, Rectangle, float)

Prints the object container with zooming.

RemoveShape(string)

Removes the shape from the container.

Reset()

Resets the container.

ResetBackColor()

Resets the background color for the container.

Serialize(XmlTextWriter)

Saves the object to XML.