Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This gist is for Aspose.Words for Cloud PHP Code
localName = "html_example.html";
$remoteName = "html_example.docx";
$subfolder = "DocumentActions/ConvertDocument";
$fullName = $remoteName;
$saveOptions = new SaveOptionsData(array("save_format" => "pdf", "file_name" => $remoteName));
$file = realpath(__DIR__ . '/../../../..') . '/TestData/Common/' . $localName;
$request = new Requests\PostDocumentSaveAsRequest($remoteName, $saveOptions, $folder="");
$result = $this->words->postDocumentSaveAs($request);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.