Class: LiteParse::ScreenshotResult

Inherits:
Object
  • Object
show all
Defined in:
lib/liteparse/types.rb

Overview

A screenshot of a document page rendered as an image.

Instance Method Summary collapse

Instance Method Details

#heightInteger

Returns Height of the screenshot in pixels.

Returns:

  • (Integer)

    Height of the screenshot in pixels



74
# File 'lib/liteparse/types.rb', line 74

class ScreenshotResult; end

#image_bytesString

Returns PNG image bytes (binary string).

Returns:

  • (String)

    PNG image bytes (binary string)



74
# File 'lib/liteparse/types.rb', line 74

class ScreenshotResult; end

#page_numInteger

Returns 1-indexed page number of the screenshot.

Returns:

  • (Integer)

    1-indexed page number of the screenshot



74
# File 'lib/liteparse/types.rb', line 74

class ScreenshotResult; end

#widthInteger

Returns Width of the screenshot in pixels.

Returns:

  • (Integer)

    Width of the screenshot in pixels



74
# File 'lib/liteparse/types.rb', line 74

class ScreenshotResult; end