PageSize
Sets the page size (width by height in pixels) of the normalized image.
Setting Methods
As Json Parameter
PageSize
as a JSON parameter is a string value defined as below.
Parent Json Object | Key Name | Key Value Type | Key Value Range | Key Default Value |
---|---|---|---|---|
NormalizerParameter | PageSize | int array | A value representing the page size defined as bellow | [-1, -1] |
Remarks
- A page size is defined as: [
TargetPageWidth
,TargetPageHeight
] - Allowed value range of
TargetPageWidth
andTargetPageHeight
: [-1, 0x7fffffff] - TargetPageWidth * TargetPageHeight < 100000000
- If any of
TargetPageWidth
andTargetPageHeight
is 0 or -1, the original width and height of the detected content will be used.
Example
{
"PageSize": [210, 297]
}