Description
Syntax
| Visual Basic |
|---|
Public Sub Resize( _
ByVal As EPageSize, _
Optional ByVal As EPageOrientation = epgoAuto, _
Optional ByVal As EImageAlignment = epiaCenter, _
Optional ByVal As Double = 8.5, _
Optional ByVal As Double = 11, _
Optional ByVal As ESizeUnit = esuInch _
)
|
Parameters
- PageSize
| Value | Description |
| epgsA4 | A4 page size |
| epgsCustom | Custom image size |
| epgsImage | |
| epgsLedger | Ledger size |
| epgsLegal | Legal size |
| epgsLetter | Letter size |
| epgsNearest | |
| epgsNearestMetric | |
| epgsNearestStd | |
| epgsOriginal | Image size before image is modified |
Image page size after resizing
- PageOrientation
| Value | Description |
| epgoAuto | Orientation is determined automatically |
| epgoLandscape | Use landscape orientation |
| epgoPortrait | Use portrait orientation |
Image orientation after resizing
- ImageAlignment
| Value | Description |
| epiaBestFit | |
| epiaBottomCenter | |
| epiaBottomLeft | |
| epiaBottomRight | |
| epiaCenter | |
| epiaLeftCenter | |
| epiaRightCenter | |
| epiaStretch | |
| epiaTopCenter | |
| epiaTopLeft | |
| epiaTopRight | |
Image alignment after resizing
- Width
- Image width if PageSize=epgsCustom
- Height
- Image width if PageSize=epgsCustom
- Unit
| Value | Description |
| esuCentimeter | |
| esuInch | |
| esuPixel | |
Unit of Width and Height parameters
See Also