[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ShapeBase

ShapeBase Class

Base class for all types of shapes, including Shape and Picture. It also represents currently unsupported shape types such as charts etc.

Derived classes include Shape, Picture, GroupShape, CanvasShape, InkShape.

Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class ShapeBase : ContentObject
Public Class ShapeBase
    Inherits ContentObject

Properties

Name Description
AlternativeText

Gets or sets the alternative text for the shape. This text can be used by assistive technologies or applications that do not display the actual object.

BlackWhiteMode

Gets or sets how to interpret color information contained within the shape to achieve a color, black and white, or grayscale rendering of the shape.

This property specifies only the rendering mode applied to the shape; it does not affect how the actual color information is persisted.

Hidden

Gets or sets a value indicating whether this shape is hidden (i.e. present in the document but not visible).

Note that an application can have settings that allow this object to be viewed.

HyperlinkOnClick

Gets the HyperlinkOnAction object specifying hyperlink properties associated with the shape when it is clicked.

HyperlinkOnHover

Gets the HyperlinkOnAction object specifying hyperlink properties associated with the shape when the pointer hovers over it.

ID

Gets the unique ID of the current shape in the document.

Name

Gets or sets the current shape name.

Typically, this is used to store the original file name of the shape.

ParentRun

Gets the parent Run of the current shape.

Position

Gets the ShapePosition object that contains properties for positioning the current anchored shape in the document.

Note that if the current shape is an inline shape, this property has no effect.

Rotation

Gets the ShapeRotation object that contains properties for rotating the current shape in the document.

Size

Gets the ShapeSize object that contains properties for sizing the current shape in the document.

Title

Gets or sets the title (caption) of the current shape.

WrapFormat

Gets the WrapFormat object that contains properties for wrapping text around the current shape.