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])


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

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)


2193
2194
2195
# File 'sig/types.rbs', line 2193

def height
  @height
end

#is_encryptedBoolean?

Returns the value of attribute is_encrypted.

Returns:

  • (Boolean, nil)


2191
2192
2193
# File 'sig/types.rbs', line 2191

def is_encrypted
  @is_encrypted
end

#page_countInteger?

Returns the value of attribute page_count.

Returns:

  • (Integer, nil)


2194
2195
2196
# File 'sig/types.rbs', line 2194

def page_count
  @page_count
end

#pdf_versionString?

Returns the value of attribute pdf_version.

Returns:

  • (String, nil)


2189
2190
2191
# File 'sig/types.rbs', line 2189

def pdf_version
  @pdf_version
end

#producerString?

Returns the value of attribute producer.

Returns:

  • (String, nil)


2190
2191
2192
# File 'sig/types.rbs', line 2190

def producer
  @producer
end

#scanned_confidenceFloat?

Returns the value of attribute scanned_confidence.

Returns:

  • (Float, nil)


2195
2196
2197
# File 'sig/types.rbs', line 2195

def scanned_confidence
  @scanned_confidence
end

#scanned_pagesArray[Integer]?

Returns the value of attribute scanned_pages.

Returns:

  • (Array[Integer], nil)


2196
2197
2198
# File 'sig/types.rbs', line 2196

def scanned_pages
  @scanned_pages
end

#widthInteger?

Returns the value of attribute width.

Returns:

  • (Integer, nil)


2192
2193
2194
# File 'sig/types.rbs', line 2192

def width
  @width
end