Documentation Docs
Documentation Docs

IDrawImageOptions

An object that configures rendering an image.

Inherited from the following class(es):

base64 property

A string value with a base64-encoded image to be drawn.

Type:
string readonly
Implemented in:
IDrawImageOptions
height property

An image height in pixels. Defaults to the rectangle height.

Type:
number readonly
Implemented in:
IDrawImageOptions
horizontalAlign property

Horizontal alignment within the rectangle that limits the drawing area.

Possible values:

  • "center" (default)
  • "left"
  • "right"
Type:
HorizontalAlign readonly
Implemented in:
IDrawRectOptions
margins property

The distance between the content and the borders of the rectangle. This property applies only if the content is aligned to the left/right or top/bottom.

Type:
IMargin readonly
Implemented in:
IDrawRectOptions
rect property

An object with coordinates of the rectangle.

Type:
IRect readonly
Implemented in:
IDrawRectOptions
verticalAlign property

Vertical alignment within the rectangle that limits the drawing area.

Possible values:

  • "middle" (default)
  • "top"
  • "bottom"
Type:
VerticalAlign readonly
Implemented in:
IDrawRectOptions
width property

An image width in pixels. Defaults to the rectangle width.

Type:
number readonly
Implemented in:
IDrawImageOptions

Copyright © 2024 Devsoft Baltic OÜ. All rights reserved.

Your cookie settings

We use cookies on our site to make your browsing experience more convenient and personal. In some cases, they are essential to making the site work properly. By clicking "Accept All", you consent to the use of all cookies in accordance with our Terms of Use & Privacy Statement. However, you may visit "Cookie settings" to provide a controlled consent.

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.