Aspose.Words.Drawing Namespace

The Aspose.Words.Drawing namespace provides classes that allow to create and modify drawing objects.

All drawing objects in in Microsoft Word documents are represented by instances of the Shape and GroupShape classes. An object of the Shape class is a node in a document and can represent a picture, textbox, AutoShape or an OLE object.

The classes in this namespace support the latest (Word 2007 - 2013 DrawingML) and the earlier (pre Word 2007 - Office Art) shapes.

Classes
  ClassDescription
Public classCode exampleFill
Defines a fill for a shape.
Public classCode exampleGroupShape
Represents a group of shapes in a document.
Public classHorizontalRuleFormat
Represents horizontal rule formatting.
Public classCode exampleImageData
Defines an image for a shape.
Public classCode exampleImageSize
Contains information about image size and resolution.
Public classCode exampleOleFormat
Provides access to the data of an OLE object or ActiveX control.
Public classCode exampleOlePackage
Allows to access OLE Package properties.
Public classCode exampleShape
Represents an object in the drawing layer, such as an AutoShape, textbox, freeform, OLE object, ActiveX control, or picture.
Public classCode exampleShapeBase
Base class for objects in the drawing layer, such as an AutoShape, freeform, OLE object, ActiveX control, or picture.
Public classCode exampleSignatureLine
Provides access to signature line properties.
Public classCode exampleStroke
Defines a stroke for a shape.
Public classCode exampleTextBox
Defines attributes that specify how a text is displayed inside a shape.
Public classCode exampleTextPath
Defines the text and formatting of the text path (of a WordArt object).
Enumerations
  EnumerationDescription
Public enumerationCode exampleArrowLength
Length of the arrow at the end of a line.
Public enumerationCode exampleArrowType
Specifies the type of an arrow at a line end.
Public enumerationCode exampleArrowWidth
Width of the arrow at the end of a line.
Public enumerationCode exampleDashStyle
Dashed line style.
Public enumerationCode exampleEndCap
Specifies line cap style.
Public enumerationCode exampleFlipOrientation
Possible values for the orientation of a shape.
Public enumerationCode exampleHorizontalAlignment
Specifies horizontal alignment of a floating shape, text frame or floating table.
Public enumerationHorizontalRuleAlignment
Represents the alignment for the specified horizontal rule.
Public enumerationCode exampleImageType
Specifies the type (format) of an image in a Microsoft Word document.
Public enumerationCode exampleJoinStyle
Line join style.
Public enumerationCode exampleLayoutFlow
Determines the flow of the text layout in a textbox.
Public enumerationCode exampleRelativeHorizontalPosition
Specifies to what the horizontal position of a shape or text frame is relative.
Public enumerationCode exampleRelativeVerticalPosition
Specifies to what the vertical position of a shape or text frame is relative.
Public enumerationCode exampleShapeLineStyle
Specifies the compound line style of a Shape.
Public enumerationCode exampleShapeMarkupLanguage
Specifies Markup language used for the shape.
Public enumerationCode exampleShapeType
Specifies the type of shape in a Microsoft Word document.
Public enumerationCode exampleTextBoxAnchor
Specifies values used for shape text vertical alignment.
Public enumerationCode exampleTextBoxWrapMode
Specifies how text wraps inside a shape.
Public enumerationCode exampleTextPathAlignment
WordArt alignment.
Public enumerationCode exampleVerticalAlignment
Specifies vertical alignment of a floating shape, text frame or a floating table.
Public enumerationCode exampleWrapSide
Specifies what side(s) of the shape or picture the text wraps around.
Public enumerationCode exampleWrapType
Specifies how text is wrapped around a shape or picture.