public void SetLogo()
{
Document doc = new Document(MyDir + "Document.doc");
//ExStart
//ExFor:SwfSaveOptions.#ctor
//ExFor:SwfSaveOptions
//ExFor:SwfSaveOptions.LogoImageBytes
//ExFor:SwfSaveOptions.LogoLink
//ExSummary:Shows how to specify a custom logo and link it to a web address in the embedded document viewer.
// Create an instance of SwfSaveOptions.
SwfSaveOptions options = new SwfSaveOptions();
// Read the image into byte array.
byte[] logoBytes = File.ReadAllBytes(MyDir + "LogoSmall.png");
// Specify the logo image to use.
options.LogoImageBytes = logoBytes;
// You can specify the URL of web page that should be opened when you click on the logo.
options.LogoLink = "http://www.aspose.com";
//ExEnd
doc.Save(MyDir + @"\Artifacts\SwfSaveOptions.CustomLogo.swf", options);
}