Resource Base
Table of contents

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 and TargetPageHeight: [-1, 0x7fffffff]
  • TargetPageWidth * TargetPageHeight < 100000000
  • If any of TargetPageWidth and TargetPageHeight is 0 or -1, the original width and height of the detected content will be used.

Example

{
    "PageSize": [210, 297]
}

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.2.10)
    • Version 2.x
      • Version 2.2.0
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.11
      • Version 2.0.10
      • Version 2.0.0
    • Version 1.x
      • Version 1.0.21
      • Version 1.0.20
      • Version 1.0.12
      • Version 1.0.11
      • Version 1.0.10
      • Version 1.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support