[]
Represents a shape object.
public abstract class PSShape : PSObject, ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable
Public MustInherit Class PSShape
Inherits PSObject
Implements ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable
Name | Description |
---|---|
PSShape() | Creates a new shape object. |
PSShape(PSShape) | Creates a new shape object from PSShape object |
PSShape(SerializationInfo, StreamingContext) | Creates a new shape object from serialization. |
Name | Description |
---|---|
renderText | Internal use only. Whether to render the text. |
Name | Description |
---|---|
AlphaBlendShadowColor | Gets or sets the amount of transparency of the shadow. |
BackColor | Gets or sets the background color of the shape. |
CanRenderText | Gets or sets whether the shape renders its text. |
DynamicMove | Gets or sets whether the object moves when hiding or showing, resizing, or moving rows or columns. |
DynamicSize | Gets or sets whether the size of the object changes when hiding or showing, resizing, or moving rows or columns. |
ShadowColor | Gets or sets the color of the shadow of the object. |
ShadowDirection | Gets or sets the direction of the shadow. |
ShadowOffset | Gets or sets the amount of offset of the shadow. |
ShadowOffsetX | Gets or sets the amount of horizontal offset of the shadow of the object. |
ShadowOffsetY | Gets or sets the amount of vertical offset of the shadow of the object. |
Shape | Gets or sets the shape of the object. |
Visible | Gets or sets whether the object is visible. |
Name | Description |
---|---|
CopyTo(object) | Copies the properties of this object in presentation space (drawing space) to the target object. |
Deserialize(object, XmlNodeReader) | Loads the object from XML. |
Deserialize(XmlNodeReader) | Loads the object from XML. |
DeserializeEntry(SerializationEntry) | Creates a new shape object from serialization. Serialize single entry. Should not overrides unless using base serialize for binary or item need combination might missing. |
DeserializeShapeProps(XmlNodeReader) | Loads the object properties from XML. |
DoMove(Point) | Allows the object to be moved. |
DoSize(int, Point) | Allows the object to be sized. |
FillBackgroundWithGradient(Graphics, Rectangle) | Fills the background of the object with a gradient. |
GetClientRectangle(Rectangle) | Gets the coordinates of the element. |
GetClientRectangleF(RectangleF) | Gets the coordinates of the element. |
GetObjectData(SerializationInfo, StreamingContext) | Serializes the shape object. |
GetTextAndPictureRectangles(Graphics, Rectangle, ref Rectangle, ref Rectangle) | Gets the bounding rectangles for the text and the picture in the presentation space. |
Initialize() | Initializes the shape object in the presentation space. |
OnChanged(object, EventArgs) | Raises the Changed event when the element has changed. |
OnMouseDown(MouseEventArgs) | MouseDown processing. |
OnMouseUp(MouseEventArgs) | MouseUp processing. |
OnPaintBackground(Graphics, Rectangle) | Initiates a redraw for the object to repaint its background. |
OnPropertyChanged(object, PropertyChangedEventArgs) | Raises the PropertyChanged event when the property on an element has changed. |
PaintBorder(Graphics, Rectangle) | Not supported for basic shapes. |
PaintDropShadow(Graphics, Rectangle) | Draws the drop shadow. |
PaintForegroundImage(Graphics, Rectangle) | Draws the foreground image. |
PaintText(Graphics, Rectangle) | Draws the text for the shape. |
ResetAlphaBlendShadowColor() | Resets the amount of transparency for the shadow, which is 128. |
ResetBackColor() | Resets the background color to its default setting. |
ResetCanRenderText() | Resets whether the shape can render its text property. |
ResetDynamicMove() | Resets the dynamic move of the object. |
ResetParent() | Internal use only. |
ResetShadowColor() | Resets the color of the shadow to the default value. |
ResetShadowDirection() | Resets the direction of the shadow to the default, which is None. |
ResetShadowOffsetX() | Resets the amount of offset of the shadow in the horizontal direction to the default value, which is 5.0F. |
ResetShadowOffsetY() | Resets the amount of offset of the shadow in the vertical direction to the default value, which is 5.0F. |
ResetShape() | Resets the shape of the object. |
Serialize(object, XmlTextWriter) | Saves the object to XML. |
Serialize(XmlTextWriter) | Saves the object to XML. |
SerializeProps(XmlTextWriter) | Saves the object properties to XML. |
SetInitialShape() | Creates the initial shape object. |
ShouldSerializeAlphaBlendShadowColor() | Determines if the AlphaBlendShadowColor property should be serialized. |
ShouldSerializeCanRenderText() | Determines if the shape CanRenderText property should be serialized. |
ShouldSerializeShadowColor() | Determines if the ShadowColor property should be serialized. |
ShouldSerializeShadowDirection() | Determines if the ShadowDirection property should be serialized. |
ShouldSerializeShadowOffset() | Determines whether the shadow offset should be serialized. |
ShouldSerializeShadowOffsetX() | Determines if the ShadowOffsetX property should be serialized. |
ShouldSerializeShadowOffsetY() | Determines if the ShadowOffsetX property should be serialized. |