ApiExamples.ExImage.InsertImageWithHyperlink C# (CSharp) Метод

InsertImageWithHyperlink() приватный Метод

private InsertImageWithHyperlink ( ) : void
Результат void
        public void InsertImageWithHyperlink()
        {
            //ExStart
            //ExFor:ShapeBase.HRef
            //ExFor:ShapeBase.ScreenTip
            //ExSummary:Shows how to insert an image with a hyperlink.
            // This creates a builder and also an empty document inside the builder.
            DocumentBuilder builder = new DocumentBuilder();

            Shape shape = builder.InsertImage(MyDir + "Hammer.wmf");
            shape.HRef = "http://www.aspose.com/Community/Forums/75/ShowForum.aspx";
            shape.ScreenTip = "Aspose.Words Support Forums";

            builder.Document.Save(MyDir + @"\Artifacts\Image.InsertImageWithHyperlink.doc");
            //ExEnd
        }