Class: DynamicPDFApi::PageInformation

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_client/PageInformation.rb

Overview

Represents a page information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePageInformation

Returns a new instance of PageInformation.



6
7
8
9
10
# File 'lib/ruby_client/PageInformation.rb', line 6

def initialize
  @page_number = nil
  @width = nil
  @height = nil
end

Instance Attribute Details

#heightObject

Gets or sets the height of the page.



25
26
27
# File 'lib/ruby_client/PageInformation.rb', line 25

def height
  @height
end

#page_numberObject

Gets or sets the page number.



15
16
17
# File 'lib/ruby_client/PageInformation.rb', line 15

def page_number
  @page_number
end

#widthObject

Gets or sets the width of the page.



20
21
22
# File 'lib/ruby_client/PageInformation.rb', line 20

def width
  @width
end