asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
100 lines (99 loc) • 2.78 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { DrawingObjectLink } from './drawingObjectLink';
import { WordsApiLink } from './wordsApiLink';
export declare const importsMapDrawingObject: {
DrawingObjectLink: typeof DrawingObjectLink;
WordsApiLink: typeof WordsApiLink;
};
/**
* DTO container with a DrawingObject.
*/
export declare class DrawingObject extends DrawingObjectLink {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets the list of links that originate from this DrawingObjectDto.
*/
renderLinks: Array<WordsApiLink>;
/**
* Gets or sets the width of the DrawingObjects in points.
*/
width: number;
/**
* Gets or sets the height of the DrawingObject in points.
*/
height: number;
/**
* Gets or sets the link to OLE object. Can be null if shape does not have OLE data.
*/
oleDataLink: WordsApiLink;
/**
* Gets or sets the link to image data. Can be null if shape does not have an image.
*/
imageDataLink: WordsApiLink;
/**
* Gets or sets the relative horizontal position, from which the distance to the image is measured.
*/
relativeHorizontalPosition: DrawingObject.RelativeHorizontalPositionEnum;
/**
* Gets or sets the distance in points from the origin to the left side of the image.
*/
left: number;
/**
* Gets or sets the relative vertical position, from which the distance to the image is measured.
*/
relativeVerticalPosition: DrawingObject.RelativeVerticalPositionEnum;
/**
* Gets or sets the distance in points from the origin to the top side of the image.
*/
top: number;
/**
* Gets or sets the option that controls how to wrap text around the image.
*/
wrapType: DrawingObject.WrapTypeEnum;
constructor(init?: Partial<DrawingObject>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}
/**
* Enums for DrawingObject
*/
export declare namespace DrawingObject {
enum RelativeHorizontalPositionEnum {
Margin,
Page,
Column,
Default,
Character,
LeftMargin,
RightMargin,
InsideMargin,
OutsideMargin
}
enum RelativeVerticalPositionEnum {
Margin,
TableDefault,
Page,
Paragraph,
TextFrameDefault,
Line,
TopMargin,
BottomMargin,
InsideMargin,
OutsideMargin
}
enum WrapTypeEnum {
Inline,
TopBottom,
Square,
None,
Tight,
Through
}
}