# ImageScaleProperties

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / ImageScaleProperties

# Type Alias: ImageScaleProperties

> **ImageScaleProperties** = `object`

Represents image alignment within a rectangle in a PDF.

## Properties

### ignoreBorder?

> `optional` **ignoreBorder**: `boolean`

Gets or sets a value indicating whether a button's appearance should be scaled to fit fully
within the bounds of the annotation without taking into consideration the line width of the border.

Not specified means false.

***

### mode?

> `optional` **mode**: [`ImageScaleMode`](../enumerations/ImageScaleMode)

The scaling mode.
Not specified means "Always".

***

### position?

> `optional` **position**: [`Point`](Point)

Gets or sets the position of an image.
The two numbers between 0.0 and 1.0 indicate the fraction of leftover space to allocate at the left and bottom of an image.
A value of (0.0, 0.0) positions the image at the bottom-left corner of the button rectangle.
A value of (0.5, 0.5) centers it within the rectangle.
This value is used only if the image is scaled proportionally.

Not specified means { 0.5, 0.5 }

***

### proportional?

> `optional` **proportional**: `boolean`

Indicating whether an image should be scaled proportionally.
Note specified means true.
