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


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

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)


2219
2220
2221
# File 'sig/types.rbs', line 2219

def height
  @height
end

#is_encryptedBoolean?

Returns the value of attribute is_encrypted.

Returns:

  • (Boolean, nil)


2217
2218
2219
# File 'sig/types.rbs', line 2217

def is_encrypted
  @is_encrypted
end

#page_countInteger?

Returns the value of attribute page_count.

Returns:

  • (Integer, nil)


2220
2221
2222
# File 'sig/types.rbs', line 2220

def page_count
  @page_count
end

#pdf_versionString?

Returns the value of attribute pdf_version.

Returns:

  • (String, nil)


2215
2216
2217
# File 'sig/types.rbs', line 2215

def pdf_version
  @pdf_version
end

#producerString?

Returns the value of attribute producer.

Returns:

  • (String, nil)


2216
2217
2218
# File 'sig/types.rbs', line 2216

def producer
  @producer
end

#scanned_confidenceFloat?

Returns the value of attribute scanned_confidence.

Returns:

  • (Float, nil)


2221
2222
2223
# File 'sig/types.rbs', line 2221

def scanned_confidence
  @scanned_confidence
end

#scanned_pagesArray[Integer]?

Returns the value of attribute scanned_pages.

Returns:

  • (Array[Integer], nil)


2222
2223
2224
# File 'sig/types.rbs', line 2222

def scanned_pages
  @scanned_pages
end

#widthInteger?

Returns the value of attribute width.

Returns:

  • (Integer, nil)


2218
2219
2220
# File 'sig/types.rbs', line 2218

def width
  @width
end