ExpDrawing
Overview
ExpDrawing is a class in Aspose.Cells FOSS for Typescript.
ExpDrawing.generateGuid() returns a new GUID string that can be used as a unique identifier for drawing elements.
This class provides 9 methods for working with ExpDrawing objects in Typescript programs.
Available methods include: colorToScheme, generateDrawingXml, generateGuid, generateUniqueId, getDrawingShapeType, isConnectorShape, schemeToColor, shapeFillToXml, shapeToDrawingXml.
All public members are accessible to any Typescript application after installing the Aspose.Cells FOSS for Typescript package.
Description
ExpDrawing is a class in the Aspose.Cells FOSS library for TypeScript that exposes 9 methods and 0 properties for programmatic use.
Methods
| Signature | Description |
|---|---|
generateDrawingXml(shapes: ShapeInfo[], sheetImages: ImageInfo[], imageMap: Map<string, number>) → string | Generates the drawing XML for the given shapes, images, and image mapping. |
generateUniqueId() → string | Returns a unique identifier string for drawing elements. |
generateGuid() → string | Returns a new GUID string that can be used as a unique identifier for drawing elements |
shapeToDrawingXml(shape: ShapeInfo, index: number) → string | Converts a single shape to its drawing XML representation. |
getDrawingShapeType(type: string) → string | Returns the DrawingML shape type string for the given type identifier. |
colorToScheme(color: string) → string | Converts a color value to its DrawingML scheme color representation. |
schemeToColor(schemeColor: string) → string | Converts a DrawingML scheme color to its color value representation. |
shapeFillToXml(fill: ShapeFill, fallbackColor: string) → string | Converts shape fill information to its XML representation using the given fallback color. |
isConnectorShape(shape: ShapeInfo) → shape is AllConnectorShapeInfo | Returns true if the given shape is a connector shape type. |