OleFormatSuggestedFileName Property |
Namespace: Aspose.Words.Drawing
Document doc = new Document(MyDir + "OLE shape.rtf"); // Gets the file name suggested for the current embedded object if you want to save it into a file Shape oleShape = (Shape) doc.FirstSection.Body.GetChild(NodeType.Shape, 0, true); string suggestedFileName = oleShape.OleFormat.SuggestedFileName; Assert.AreEqual("CSV.csv", suggestedFileName);