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

SignatureDescription
generateDrawingXml(shapes: ShapeInfo[], sheetImages: ImageInfo[], imageMap: Map<string, number>)stringGenerates the drawing XML for the given shapes, images, and image mapping.
generateUniqueId()stringReturns a unique identifier string for drawing elements.
generateGuid()stringReturns a new GUID string that can be used as a unique identifier for drawing elements
shapeToDrawingXml(shape: ShapeInfo, index: number)stringConverts a single shape to its drawing XML representation.
getDrawingShapeType(type: string)stringReturns the DrawingML shape type string for the given type identifier.
colorToScheme(color: string)stringConverts a color value to its DrawingML scheme color representation.
schemeToColor(schemeColor: string)stringConverts a DrawingML scheme color to its color value representation.
shapeFillToXml(fill: ShapeFill, fallbackColor: string)stringConverts shape fill information to its XML representation using the given fallback color.
isConnectorShape(shape: ShapeInfo)shape is AllConnectorShapeInfoReturns true if the given shape is a connector shape type.

See Also