This object is returned to the caller after a document is saved and contains additional information that has been generated or calculated during the save operation. The caller can use or ignore this object.
- Examples
Shows how to access output parameters of a document's save operation.
auto doc = MakeObject<Document>();
auto builder = MakeObject<DocumentBuilder>(doc);
builder->Writeln(u"Hello world!");
SharedPtr<SaveOutputParameters> parameters = doc->Save(ArtifactsDir + u"Document.SaveOutputParameters.doc");
ASSERT_EQ(u"application/msword", parameters->get_ContentType());
parameters = doc->Save(ArtifactsDir + u"Document.SaveOutputParameters.pdf");
ASSERT_EQ(u"application/pdf", parameters->get_ContentType());