Class: Xberg::PdfMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePdfMetadata

Returns a new instance of PdfMetadata.

Parameters:

  • pdf_version: (String)
  • producer: (String)
  • is_encrypted: (Boolean)
  • width: (Integer)
  • height: (Integer)
  • page_count: (Integer)
  • scanned_confidence: (Float)
  • scanned_pages: (Array[Integer])


2261
# File 'sig/types.rbs', line 2261

def initialize: (?pdf_version: String, ?producer: String, ?is_encrypted: bool, ?width: Integer, ?height: Integer, ?page_count: Integer, ?scanned_confidence: Float, ?scanned_pages: Array[Integer]) -> void

Instance Attribute Details

#heightInteger?

Returns the value of attribute height.

Returns:

  • (Integer, nil)


2256
2257
2258
# File 'sig/types.rbs', line 2256

def height
  @height
end

#is_encryptedBoolean?

Returns the value of attribute is_encrypted.

Returns:

  • (Boolean, nil)


2254
2255
2256
# File 'sig/types.rbs', line 2254

def is_encrypted
  @is_encrypted
end

#page_countInteger?

Returns the value of attribute page_count.

Returns:

  • (Integer, nil)


2257
2258
2259
# File 'sig/types.rbs', line 2257

def page_count
  @page_count
end

#pdf_versionString?

Returns the value of attribute pdf_version.

Returns:

  • (String, nil)


2252
2253
2254
# File 'sig/types.rbs', line 2252

def pdf_version
  @pdf_version
end

#producerString?

Returns the value of attribute producer.

Returns:

  • (String, nil)


2253
2254
2255
# File 'sig/types.rbs', line 2253

def producer
  @producer
end

#scanned_confidenceFloat?

Returns the value of attribute scanned_confidence.

Returns:

  • (Float, nil)


2258
2259
2260
# File 'sig/types.rbs', line 2258

def scanned_confidence
  @scanned_confidence
end

#scanned_pagesArray[Integer]?

Returns the value of attribute scanned_pages.

Returns:

  • (Array[Integer], nil)


2259
2260
2261
# File 'sig/types.rbs', line 2259

def scanned_pages
  @scanned_pages
end

#widthInteger?

Returns the value of attribute width.

Returns:

  • (Integer, nil)


2255
2256
2257
# File 'sig/types.rbs', line 2255

def width
  @width
end