ExpDrawing
Vue de l’ensemble
‘ExpDrawing’ est une classe dans Aspose.Cells FOSS pour Typescript.
ExpDrawing.generateGuid() retourne une nouvelle ligne de GUID qui peut être utilisée comme un identifiant unique pour les éléments de dessin.
Cette classe fournit 9 méthodes pour travailler avec les objets ExpDrawing dans des programmes Typescript. Les méthodologies disponibles comprennent: colorToScheme, generateDravingXml , genateGuid ; generateUniqueId; getDraveShapeType : isConnectorShapé: schemeToColor. shapeFillToXML et ` shapeToDrayingxml. Tous les membres publics sont accessibles à toute application TypeScript après l’installation de l’Aspoe.Cells FOSS pour le package Typscript .
Description
‘ExpDrawing’ est une classe dans la bibliothèque Aspose.Cells FOSS pour TypeScript qui expose 9 méthodes et 0 propriétés pour l’utilisation programmée.
méthodes
| 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. |
Voir aussi
- Aspose.Cells — référence API d’entreprise