Method: AsposeWordsCloud::GetRunFontRequest#initialize

Defined in:
lib/aspose_words_cloud/models/requests/get_run_font_request.rb

#initialize(name:, paragraph_path:, index:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil) ⇒ GetRunFontRequest

Initializes a new instance.

Parameters:

  • name

    The filename of the input document.

  • paragraph_path

    The path to the paragraph in the document tree.

  • index

    Object index.

  • folder (defaults to: nil)

    Original document folder.

  • storage (defaults to: nil)

    Original document storage.

  • load_encoding (defaults to: nil)

    Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.

  • password (defaults to: nil)

    Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don’t recommend to use the parameter to pass a plain password for direct call of API.

  • encrypted_password (defaults to: nil)

    Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.



67
68
69
70
71
72
73
74
75
76
# File 'lib/aspose_words_cloud/models/requests/get_run_font_request.rb', line 67

def initialize(name:, paragraph_path:, index:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil)
  self.name = name
  self.paragraph_path = paragraph_path
  self.index = index
  self.folder = folder
  self.storage = storage
  self.load_encoding = load_encoding
  self.password = password
  self.encrypted_password = encrypted_password
end