I am testing Aspose.Word,I’d convert doc to swf
and got a problem as follow link
https://drive.google.com/file/d/0B4bFD2hr7qvNb2FFMXhiZE8wb2M/view?usp=sharing
I trying the sample code as bellow
public void HideControls()
{
//ExStart
//ExFor:SwfSaveOptions.TopPaneControlFlags
//ExFor:SwfTopPaneControlFlags
//ExFor:SwfSaveOptions.ShowSearch
//ExSummary:Shows how to choose which controls to display in the embedded document viewer.
Document doc = new Document(MyDir + "Document.doc");
// Create an instance of SwfSaveOptions and set some buttons as hidden.
SwfSaveOptions options = new SwfSaveOptions();
// Hide all the buttons with the exception of the page control buttons. Similar flags can be used for the left control pane as well.
options.TopPaneControlFlags = SwfTopPaneControlFlags.HideAll | SwfTopPaneControlFlags.ShowActualSize |
SwfTopPaneControlFlags.ShowFitToWidth | SwfTopPaneControlFlags.ShowFitToHeight |
SwfTopPaneControlFlags.ShowZoomIn | SwfTopPaneControlFlags.ShowZoomOut;
// You can also choose to show or hide the main elements of the viewer. Hide the search control.
options.ShowSearch = false;
//ExEnd
doc.Save(MyDir + "SwfSaveOptions.HideControls Out.swf", options);
}