Message-ID: <21420603.9443.1711691268903.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9442_1982785307.1711691268903" ------=_Part_9442_1982785307.1711691268903 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Shape
class allows the appearance and behavior of drawing obje=
ct to be manipulated. On its own, Shape represents a simple auto shape, suc=
h as a line, rectangle, or oval. A shape may also represent the display are=
a of a=20
Comment or the size, position, and for=
matting of a=20
Picture.=20
public class Shape=20
Public Class Shape=20
Once a Shape
is created with a particular ShapeType, the type may not be chang=
ed. Instead, delete the shape and create a new one with the appropriate typ=
e.
To create a Shape
object, call Shapes.CreateShape.
Name |
Description |
---|---|
Sets or returns the shape's fill color. The colo= r may be either a custom color or a palette color. | |
Sets or returns the fill transparency the shape = as a real number value between 0 (opaque) and 1 (transparent). | |
Sets or returns whether the shape will be automa= tically sized to fit the text. | |
Sets or returns the height of the Shape. | |
Sets or returns the horizontal alignment of text= within the shape. | |
Sets or returns the Shape 's line color. | |
Sets or returns whether the aspect ratio of the = shape will be locked in Excel. This setting has no effect within ExcelWrite= r. | |
Name<= /p> |
Returns the name associated with this shape. |
Sets or returns the ObjectPositioning value that determines the shape's resi= ze and reposition behavior when the cells in the worksheet are changed. | |
Sets or returns the Shape's position in the worksheet. This property determines the loca= tion of the shape's upper left corner. | |
Sets or returns the rotation angle of the shape.= | |
Text<= /p> |
Sets or returns the text displayed within the sh= ape. |
Type<= /p> |
Returns the Shape= object's type. This property may not be changed. |
Sets or returns the vertical alignment of text w= ithin the shape. | |
Sets or returns the width of the Shape. |
Name |
Description |
---|---|
Clears all rich text formatting within the shape= . The font of the shape will be set to the normal font of the workbook= . | |
Returns a = CharacterRun object representing a range of characters within the comme= nt text. Use this to set the font on specified characters within the text.<= /td> | |
Returns a = CharacterRun object representing a range of characters within the comme= nt text. Use this to set the font on specified characters within the text.<= /td> | |
Sets the fill color for the shape to be the spec= ified custom RGB value, and returns the generated Color. This method allows a shape to have a colo= r not defined in the worksheet's Palette= a>. | |
Sets the line color for the shape to be the spec= ified custom RGB value, and returns the generated Color. This method allows a shape to have a line= color not defined in the worksheet's Pale= tte. |