Class: LiteParse::ScreenshotResult
- Inherits:
-
Object
- Object
- LiteParse::ScreenshotResult
- Defined in:
- lib/liteparse/types.rb
Overview
A screenshot of a document page rendered as an image.
Instance Method Summary collapse
-
#height ⇒ Integer
Height of the screenshot in pixels.
-
#image_bytes ⇒ String
PNG image bytes (binary string).
-
#page_num ⇒ Integer
1-indexed page number of the screenshot.
-
#width ⇒ Integer
Width of the screenshot in pixels.
Instance Method Details
#height ⇒ Integer
Returns Height of the screenshot in pixels.
74 |
# File 'lib/liteparse/types.rb', line 74 class ScreenshotResult; end |
#image_bytes ⇒ String
Returns PNG image bytes (binary string).
74 |
# File 'lib/liteparse/types.rb', line 74 class ScreenshotResult; end |
#page_num ⇒ Integer
Returns 1-indexed page number of the screenshot.
74 |
# File 'lib/liteparse/types.rb', line 74 class ScreenshotResult; end |
#width ⇒ Integer
Returns Width of the screenshot in pixels.
74 |
# File 'lib/liteparse/types.rb', line 74 class ScreenshotResult; end |