java.lang.Object
com.aspose.words.ShapeType
public class ShapeType
- extends java.lang.Object
Utility class containing constants.
Specifies the type of shape in a Microsoft Word document.
Example:
Shows how to create and add an image to a document without using document builder.
Document doc = new Document();
Shape shape = new Shape(doc, ShapeType.IMAGE);
shape.getImageData().setImage(getMyDir() + "Hammer.wmf");
shape.setWidth(100);
shape.setHeight(100);
doc.getFirstSection().getBody().getFirstParagraph().appendChild(shape);
doc.save(getMyDir() + "Image.CreateImageDirectly Out.doc");
- See Also:
- ShapeBase.ShapeType
IMAGE = 75 | |
public static final int IMAGE |
-
The shape is an image.
TEXT_BOX = 202 | |
public static final int TEXT_BOX |
-
The shape is a textbox. Note that shapes of many other types can also have text inside them too.
A shape does not have to have this type to contain text.
GROUP = -1 | |
public static final int GROUP |
The shape is a group shape.
OLE_OBJECT = -2 | |
public static final int OLE_OBJECT |
-
The shape is an OLE object.
You cannot create shapes of this type in the document.
OLE_CONTROL = 201 | |
public static final int OLE_CONTROL |
-
The shape is an ActiveX control.
You cannot create shapes of this type in the document.
NON_PRIMITIVE = 0 | |
public static final int NON_PRIMITIVE |
-
A shape drawn by user and consisting of multiple segments and/or vertices (curve, freeform or scribble).
You cannot create shapes of this type in the document.
RECTANGLE = 1 | |
public static final int RECTANGLE |
-
ROUND_RECTANGLE = 2 | |
public static final int ROUND_RECTANGLE |
-
ELLIPSE = 3 | |
public static final int ELLIPSE |
-
DIAMOND = 4 | |
public static final int DIAMOND |
-
TRIANGLE = 5 | |
public static final int TRIANGLE |
-
RIGHT_TRIANGLE = 6 | |
public static final int RIGHT_TRIANGLE |
-
PARALLELOGRAM = 7 | |
public static final int PARALLELOGRAM |
-
TRAPEZOID = 8 | |
public static final int TRAPEZOID |
-
HEXAGON = 9 | |
public static final int HEXAGON |
-
OCTAGON = 10 | |
public static final int OCTAGON |
-
PLUS = 11 | |
public static final int PLUS |
-
STAR = 12 | |
public static final int STAR |
-
ARROW = 13 | |
public static final int ARROW |
-
THICK_ARROW = 14 | |
public static final int THICK_ARROW |
-
HOME_PLATE = 15 | |
public static final int HOME_PLATE |
-
CUBE = 16 | |
public static final int CUBE |
-
BALLOON = 17 | |
public static final int BALLOON |
-
SEAL = 18 | |
public static final int SEAL |
-
ARC = 19 | |
public static final int ARC |
-
LINE = 20 | |
public static final int LINE |
-
PLAQUE = 21 | |
public static final int PLAQUE |
-
CAN = 22 | |
public static final int CAN |
-
DONUT = 23 | |
public static final int DONUT |
-
TEXT_SIMPLE = 24 | |
public static final int TEXT_SIMPLE |
-
TEXT_OCTAGON = 25 | |
public static final int TEXT_OCTAGON |
-
TEXT_HEXAGON = 26 | |
public static final int TEXT_HEXAGON |
-
TEXT_CURVE = 27 | |
public static final int TEXT_CURVE |
-
TEXT_WAVE = 28 | |
public static final int TEXT_WAVE |
-
TEXT_RING = 29 | |
public static final int TEXT_RING |
-
TEXT_ON_CURVE = 30 | |
public static final int TEXT_ON_CURVE |
-
TEXT_ON_RING = 31 | |
public static final int TEXT_ON_RING |
-
STRAIGHT_CONNECTOR_1 = 32 | |
public static final int STRAIGHT_CONNECTOR_1 |
-
BENT_CONNECTOR_2 = 33 | |
public static final int BENT_CONNECTOR_2 |
-
BENT_CONNECTOR_3 = 34 | |
public static final int BENT_CONNECTOR_3 |
-
BENT_CONNECTOR_4 = 35 | |
public static final int BENT_CONNECTOR_4 |
-
BENT_CONNECTOR_5 = 36 | |
public static final int BENT_CONNECTOR_5 |
-
CURVED_CONNECTOR_2 = 37 | |
public static final int CURVED_CONNECTOR_2 |
-
CURVED_CONNECTOR_3 = 38 | |
public static final int CURVED_CONNECTOR_3 |
-
CURVED_CONNECTOR_4 = 39 | |
public static final int CURVED_CONNECTOR_4 |
-
CURVED_CONNECTOR_5 = 40 | |
public static final int CURVED_CONNECTOR_5 |
-
CALLOUT_1 = 41 | |
public static final int CALLOUT_1 |
-
CALLOUT_2 = 42 | |
public static final int CALLOUT_2 |
-
CALLOUT_3 = 43 | |
public static final int CALLOUT_3 |
-
ACCENT_CALLOUT_1 = 44 | |
public static final int ACCENT_CALLOUT_1 |
-
ACCENT_CALLOUT_2 = 45 | |
public static final int ACCENT_CALLOUT_2 |
-
ACCENT_CALLOUT_3 = 46 | |
public static final int ACCENT_CALLOUT_3 |
-
BORDER_CALLOUT_1 = 47 | |
public static final int BORDER_CALLOUT_1 |
-
BORDER_CALLOUT_2 = 48 | |
public static final int BORDER_CALLOUT_2 |
-
BORDER_CALLOUT_3 = 49 | |
public static final int BORDER_CALLOUT_3 |
-
ACCENT_BORDER_CALLOUT_1 = 50 | |
public static final int ACCENT_BORDER_CALLOUT_1 |
-
ACCENT_BORDER_CALLOUT_2 = 51 | |
public static final int ACCENT_BORDER_CALLOUT_2 |
-
ACCENT_BORDER_CALLOUT_3 = 52 | |
public static final int ACCENT_BORDER_CALLOUT_3 |
-
RIBBON = 53 | |
public static final int RIBBON |
-
RIBBON_2 = 54 | |
public static final int RIBBON_2 |
-
CHEVRON = 55 | |
public static final int CHEVRON |
-
PENTAGON = 56 | |
public static final int PENTAGON |
-
NO_SMOKING = 57 | |
public static final int NO_SMOKING |
-
SEAL_8 = 58 | |
public static final int SEAL_8 |
-
SEAL_16 = 59 | |
public static final int SEAL_16 |
-
SEAL_32 = 60 | |
public static final int SEAL_32 |
-
WEDGE_RECT_CALLOUT = 61 | |
public static final int WEDGE_RECT_CALLOUT |
-
WEDGE_R_RECT_CALLOUT = 62 | |
public static final int WEDGE_R_RECT_CALLOUT |
-
WEDGE_ELLIPSE_CALLOUT = 63 | |
public static final int WEDGE_ELLIPSE_CALLOUT |
-
WAVE = 64 | |
public static final int WAVE |
-
FOLDED_CORNER = 65 | |
public static final int FOLDED_CORNER |
-
LEFT_ARROW = 66 | |
public static final int LEFT_ARROW |
-
DOWN_ARROW = 67 | |
public static final int DOWN_ARROW |
-
UP_ARROW = 68 | |
public static final int UP_ARROW |
-
LEFT_RIGHT_ARROW = 69 | |
public static final int LEFT_RIGHT_ARROW |
-
UP_DOWN_ARROW = 70 | |
public static final int UP_DOWN_ARROW |
-
IRREGULAR_SEAL_1 = 71 | |
public static final int IRREGULAR_SEAL_1 |
-
IRREGULAR_SEAL_2 = 72 | |
public static final int IRREGULAR_SEAL_2 |
-
LIGHTNING_BOLT = 73 | |
public static final int LIGHTNING_BOLT |
-
HEART = 74 | |
public static final int HEART |
-
QUAD_ARROW = 76 | |
public static final int QUAD_ARROW |
-
LEFT_ARROW_CALLOUT = 77 | |
public static final int LEFT_ARROW_CALLOUT |
-
RIGHT_ARROW_CALLOUT = 78 | |
public static final int RIGHT_ARROW_CALLOUT |
-
UP_ARROW_CALLOUT = 79 | |
public static final int UP_ARROW_CALLOUT |
-
DOWN_ARROW_CALLOUT = 80 | |
public static final int DOWN_ARROW_CALLOUT |
-
LEFT_RIGHT_ARROW_CALLOUT = 81 | |
public static final int LEFT_RIGHT_ARROW_CALLOUT |
-
UP_DOWN_ARROW_CALLOUT = 82 | |
public static final int UP_DOWN_ARROW_CALLOUT |
-
QUAD_ARROW_CALLOUT = 83 | |
public static final int QUAD_ARROW_CALLOUT |
-
BEVEL = 84 | |
public static final int BEVEL |
-
LEFT_BRACKET = 85 | |
public static final int LEFT_BRACKET |
-
RIGHT_BRACKET = 86 | |
public static final int RIGHT_BRACKET |
-
LEFT_BRACE = 87 | |
public static final int LEFT_BRACE |
-
RIGHT_BRACE = 88 | |
public static final int RIGHT_BRACE |
-
LEFT_UP_ARROW = 89 | |
public static final int LEFT_UP_ARROW |
-
BENT_UP_ARROW = 90 | |
public static final int BENT_UP_ARROW |
-
BENT_ARROW = 91 | |
public static final int BENT_ARROW |
-
SEAL_24 = 92 | |
public static final int SEAL_24 |
-
STRIPED_RIGHT_ARROW = 93 | |
public static final int STRIPED_RIGHT_ARROW |
-
NOTCHED_RIGHT_ARROW = 94 | |
public static final int NOTCHED_RIGHT_ARROW |
-
BLOCK_ARC = 95 | |
public static final int BLOCK_ARC |
-
SMILEY_FACE = 96 | |
public static final int SMILEY_FACE |
-
VERTICAL_SCROLL = 97 | |
public static final int VERTICAL_SCROLL |
-
HORIZONTAL_SCROLL = 98 | |
public static final int HORIZONTAL_SCROLL |
-
CIRCULAR_ARROW = 99 | |
public static final int CIRCULAR_ARROW |
-
CUSTOM_SHAPE = 100 | |
public static final int CUSTOM_SHAPE |
-
This shape type seems to be set for shapes that are not part of the standard set of the
auto shapes in Microsoft Word. For example, if you insert a new auto shape from ClipArt.
You cannot create shapes of this type in the document.
UTURN_ARROW = 101 | |
public static final int UTURN_ARROW |
-
CURVED_RIGHT_ARROW = 102 | |
public static final int CURVED_RIGHT_ARROW |
-
CURVED_LEFT_ARROW = 103 | |
public static final int CURVED_LEFT_ARROW |
-
CURVED_UP_ARROW = 104 | |
public static final int CURVED_UP_ARROW |
-
CURVED_DOWN_ARROW = 105 | |
public static final int CURVED_DOWN_ARROW |
-
CLOUD_CALLOUT = 106 | |
public static final int CLOUD_CALLOUT |
-
ELLIPSE_RIBBON = 107 | |
public static final int ELLIPSE_RIBBON |
-
ELLIPSE_RIBBON_2 = 108 | |
public static final int ELLIPSE_RIBBON_2 |
-
FLOW_CHART_PROCESS = 109 | |
public static final int FLOW_CHART_PROCESS |
-
FLOW_CHART_DECISION = 110 | |
public static final int FLOW_CHART_DECISION |
-
FLOW_CHART_INPUT_OUTPUT = 111 | |
public static final int FLOW_CHART_INPUT_OUTPUT |
-
FLOW_CHART_PREDEFINED_PROCESS = 112 | |
public static final int FLOW_CHART_PREDEFINED_PROCESS |
-
FLOW_CHART_INTERNAL_STORAGE = 113 | |
public static final int FLOW_CHART_INTERNAL_STORAGE |
-
FLOW_CHART_DOCUMENT = 114 | |
public static final int FLOW_CHART_DOCUMENT |
-
FLOW_CHART_MULTIDOCUMENT = 115 | |
public static final int FLOW_CHART_MULTIDOCUMENT |
-
FLOW_CHART_TERMINATOR = 116 | |
public static final int FLOW_CHART_TERMINATOR |
-
FLOW_CHART_PREPARATION = 117 | |
public static final int FLOW_CHART_PREPARATION |
-
FLOW_CHART_MANUAL_INPUT = 118 | |
public static final int FLOW_CHART_MANUAL_INPUT |
-
FLOW_CHART_MANUAL_OPERATION = 119 | |
public static final int FLOW_CHART_MANUAL_OPERATION |
-
FLOW_CHART_CONNECTOR = 120 | |
public static final int FLOW_CHART_CONNECTOR |
-
FLOW_CHART_PUNCHED_CARD = 121 | |
public static final int FLOW_CHART_PUNCHED_CARD |
-
FLOW_CHART_PUNCHED_TAPE = 122 | |
public static final int FLOW_CHART_PUNCHED_TAPE |
-
FLOW_CHART_SUMMING_JUNCTION = 123 | |
public static final int FLOW_CHART_SUMMING_JUNCTION |
-
FLOW_CHART_OR = 124 | |
public static final int FLOW_CHART_OR |
-
FLOW_CHART_COLLATE = 125 | |
public static final int FLOW_CHART_COLLATE |
-
FLOW_CHART_SORT = 126 | |
public static final int FLOW_CHART_SORT |
-
FLOW_CHART_EXTRACT = 127 | |
public static final int FLOW_CHART_EXTRACT |
-
FLOW_CHART_MERGE = 128 | |
public static final int FLOW_CHART_MERGE |
-
FLOW_CHART_OFFLINE_STORAGE = 129 | |
public static final int FLOW_CHART_OFFLINE_STORAGE |
-
FLOW_CHART_ONLINE_STORAGE = 130 | |
public static final int FLOW_CHART_ONLINE_STORAGE |
-
FLOW_CHART_MAGNETIC_TAPE = 131 | |
public static final int FLOW_CHART_MAGNETIC_TAPE |
-
FLOW_CHART_MAGNETIC_DISK = 132 | |
public static final int FLOW_CHART_MAGNETIC_DISK |
-
FLOW_CHART_MAGNETIC_DRUM = 133 | |
public static final int FLOW_CHART_MAGNETIC_DRUM |
-
FLOW_CHART_DISPLAY = 134 | |
public static final int FLOW_CHART_DISPLAY |
-
FLOW_CHART_DELAY = 135 | |
public static final int FLOW_CHART_DELAY |
-
TEXT_PLAIN_TEXT = 136 | |
public static final int TEXT_PLAIN_TEXT |
-
WordArt object.
TEXT_STOP = 137 | |
public static final int TEXT_STOP |
-
WordArt object.
TEXT_TRIANGLE = 138 | |
public static final int TEXT_TRIANGLE |
-
WordArt object.
TEXT_TRIANGLE_INVERTED = 139 | |
public static final int TEXT_TRIANGLE_INVERTED |
-
WordArt object.
TEXT_CHEVRON = 140 | |
public static final int TEXT_CHEVRON |
-
WordArt object.
TEXT_CHEVRON_INVERTED = 141 | |
public static final int TEXT_CHEVRON_INVERTED |
-
WordArt object.
TEXT_RING_INSIDE = 142 | |
public static final int TEXT_RING_INSIDE |
-
WordArt object.
TEXT_RING_OUTSIDE = 143 | |
public static final int TEXT_RING_OUTSIDE |
-
WordArt object.
TEXT_ARCH_UP_CURVE = 144 | |
public static final int TEXT_ARCH_UP_CURVE |
-
WordArt object.
TEXT_ARCH_DOWN_CURVE = 145 | |
public static final int TEXT_ARCH_DOWN_CURVE |
-
WordArt object.
TEXT_CIRCLE_CURVE = 146 | |
public static final int TEXT_CIRCLE_CURVE |
-
WordArt object.
TEXT_BUTTON_CURVE = 147 | |
public static final int TEXT_BUTTON_CURVE |
-
WordArt object.
TEXT_ARCH_UP_POUR = 148 | |
public static final int TEXT_ARCH_UP_POUR |
-
WordArt object.
TEXT_ARCH_DOWN_POUR = 149 | |
public static final int TEXT_ARCH_DOWN_POUR |
-
WordArt object.
TEXT_CIRCLE_POUR = 150 | |
public static final int TEXT_CIRCLE_POUR |
-
WordArt object.
TEXT_BUTTON_POUR = 151 | |
public static final int TEXT_BUTTON_POUR |
-
WordArt object.
TEXT_CURVE_UP = 152 | |
public static final int TEXT_CURVE_UP |
-
WordArt object.
TEXT_CURVE_DOWN = 153 | |
public static final int TEXT_CURVE_DOWN |
-
WordArt object.
TEXT_CASCADE_UP = 154 | |
public static final int TEXT_CASCADE_UP |
-
WordArt object.
TEXT_CASCADE_DOWN = 155 | |
public static final int TEXT_CASCADE_DOWN |
-
WordArt object.
TEXT_WAVE_1 = 156 | |
public static final int TEXT_WAVE_1 |
-
WordArt object.
TEXT_WAVE_2 = 157 | |
public static final int TEXT_WAVE_2 |
-
WordArt object.
TEXT_WAVE_3 = 158 | |
public static final int TEXT_WAVE_3 |
-
WordArt object.
TEXT_WAVE_4 = 159 | |
public static final int TEXT_WAVE_4 |
-
WordArt object.
TEXT_INFLATE = 160 | |
public static final int TEXT_INFLATE |
-
WordArt object.
TEXT_DEFLATE = 161 | |
public static final int TEXT_DEFLATE |
-
WordArt object.
TEXT_INFLATE_BOTTOM = 162 | |
public static final int TEXT_INFLATE_BOTTOM |
-
WordArt object.
TEXT_DEFLATE_BOTTOM = 163 | |
public static final int TEXT_DEFLATE_BOTTOM |
-
WordArt object.
TEXT_INFLATE_TOP = 164 | |
public static final int TEXT_INFLATE_TOP |
-
WordArt object.
TEXT_DEFLATE_TOP = 165 | |
public static final int TEXT_DEFLATE_TOP |
-
WordArt object.
TEXT_DEFLATE_INFLATE = 166 | |
public static final int TEXT_DEFLATE_INFLATE |
-
WordArt object.
TEXT_DEFLATE_INFLATE_DEFLATE = 167 | |
public static final int TEXT_DEFLATE_INFLATE_DEFLATE |
-
WordArt object.
TEXT_FADE_RIGHT = 168 | |
public static final int TEXT_FADE_RIGHT |
-
WordArt object.
TEXT_FADE_LEFT = 169 | |
public static final int TEXT_FADE_LEFT |
-
WordArt object.
TEXT_FADE_UP = 170 | |
public static final int TEXT_FADE_UP |
-
WordArt object.
TEXT_FADE_DOWN = 171 | |
public static final int TEXT_FADE_DOWN |
-
WordArt object.
TEXT_SLANT_UP = 172 | |
public static final int TEXT_SLANT_UP |
-
WordArt object.
TEXT_SLANT_DOWN = 173 | |
public static final int TEXT_SLANT_DOWN |
-
WordArt object.
TEXT_CAN_UP = 174 | |
public static final int TEXT_CAN_UP |
-
WordArt object.
TEXT_CAN_DOWN = 175 | |
public static final int TEXT_CAN_DOWN |
-
WordArt object.
FLOW_CHART_ALTERNATE_PROCESS = 176 | |
public static final int FLOW_CHART_ALTERNATE_PROCESS |
-
FLOW_CHART_OFFPAGE_CONNECTOR = 177 | |
public static final int FLOW_CHART_OFFPAGE_CONNECTOR |
-
CALLOUT_90 = 178 | |
public static final int CALLOUT_90 |
-
ACCENT_CALLOUT_90 = 179 | |
public static final int ACCENT_CALLOUT_90 |
-
BORDER_CALLOUT_90 = 180 | |
public static final int BORDER_CALLOUT_90 |
-
ACCENT_BORDER_CALLOUT_90 = 181 | |
public static final int ACCENT_BORDER_CALLOUT_90 |
-
LEFT_RIGHT_UP_ARROW = 182 | |
public static final int LEFT_RIGHT_UP_ARROW |
-
SUN = 183 | |
public static final int SUN |
-
MOON = 184 | |
public static final int MOON |
-
BRACKET_PAIR = 185 | |
public static final int BRACKET_PAIR |
-
BRACE_PAIR = 186 | |
public static final int BRACE_PAIR |
-
SEAL_4 = 187 | |
public static final int SEAL_4 |
-
DOUBLE_WAVE = 188 | |
public static final int DOUBLE_WAVE |
-
ACTION_BUTTON_BLANK = 189 | |
public static final int ACTION_BUTTON_BLANK |
-
ACTION_BUTTON_HOME = 190 | |
public static final int ACTION_BUTTON_HOME |
-
ACTION_BUTTON_HELP = 191 | |
public static final int ACTION_BUTTON_HELP |
-
ACTION_BUTTON_INFORMATION = 192 | |
public static final int ACTION_BUTTON_INFORMATION |
-
ACTION_BUTTON_FORWARD_NEXT = 193 | |
public static final int ACTION_BUTTON_FORWARD_NEXT |
-
ACTION_BUTTON_BACK_PREVIOUS = 194 | |
public static final int ACTION_BUTTON_BACK_PREVIOUS |
-
ACTION_BUTTON_END = 195 | |
public static final int ACTION_BUTTON_END |
-
ACTION_BUTTON_BEGINNING = 196 | |
public static final int ACTION_BUTTON_BEGINNING |
-
ACTION_BUTTON_RETURN = 197 | |
public static final int ACTION_BUTTON_RETURN |
-
ACTION_BUTTON_DOCUMENT = 198 | |
public static final int ACTION_BUTTON_DOCUMENT |
-
ACTION_BUTTON_SOUND = 199 | |
public static final int ACTION_BUTTON_SOUND |
-
ACTION_BUTTON_MOVIE = 200 | |
public static final int ACTION_BUTTON_MOVIE |
-
MIN_VALUE = -2 | |
public static final int MIN_VALUE |
-
Reserved for the system use.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.