UNPKG

asposewordscloud

Version:
88 lines (87 loc) 2.41 kB
import { AttributeInfo } from '../internal/attributeInfo'; import { ModelInterface } from './modelInterface'; export declare const importsMapDrawingObjectUpdate: {}; /** * Drawing object element for update. */ export declare class DrawingObjectUpdate implements ModelInterface { /** * Attribute type map */ static attributeTypeMap: Array<AttributeInfo>; /** * Returns attribute type map */ static getAttributeTypeMap(): AttributeInfo[]; /** * Gets or sets the relative horizontal position, from which the distance to the image is measured. */ relativeHorizontalPosition: DrawingObjectUpdate.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 measured. */ relativeVerticalPosition: DrawingObjectUpdate.RelativeVerticalPositionEnum; /** * Gets or sets the distance in points from the origin to the top side of the image. */ top: number; /** * 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 option that controls how to wrap text around the image. */ wrapType: DrawingObjectUpdate.WrapTypeEnum; /** * Gets or sets a value indicating whether AspectRatioLocked option on or off. */ aspectRatioLocked: boolean; constructor(init?: Partial<DrawingObjectUpdate>); collectFilesContent(_resultFilesContent: Array<any>): void; validate(): void; } /** * Enums for DrawingObjectUpdate */ export declare namespace DrawingObjectUpdate { 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 } }