Resize the image.
Syntax
'Declaration
Public Function Resize( _
ByVal As EPageSize, _
ByVal As EPageOrientation, _
ByVal As EImageAlignment, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As ESizeUnit _
) As System.Integer
'Usage
Dim instance As CiRepair
Dim PageSize As EPageSize
Dim PageOrientation As EPageOrientation
Dim ImageAlignment As EImageAlignment
Dim Width As System.Double
Dim Height As System.Double
Dim Unit As ESizeUnit
Dim value As System.Integer
value = instance.Resize(PageSize, PageOrientation, ImageAlignment, Width, Height, Unit)
public System.int Resize(
EPageSize ,
EPageOrientation ,
EImageAlignment ,
System.double ,
System.double ,
ESizeUnit
)
public function Resize(
: EPageSize;
: EPageOrientation;
: EImageAlignment;
: System.Double;
: System.Double;
: ESizeUnit
): System.Integer;
public function Resize(
: EPageSize,
: EPageOrientation,
: EImageAlignment,
: System.double,
: System.double,
: ESizeUnit
) : System.int;
public:
System.int Resize(
EPageSize ,
EPageOrientation ,
EImageAlignment ,
System.double ,
System.double ,
ESizeUnit
)
Parameters
- PageSize
- Image page size after resizing
- PageOrientation
- Image orientation after resizing
- ImageAlignment
- Image alignment after resizing
- Width
- Image width if PageSize=epgsCustom
- Height
- Image width if PageSize=epgsCustom
- Unit
- Unit of Width and Height parameters
See Also