Novacode.DocX.AddImage C# (CSharp) Method

AddImage() public method

Add an Image into this document from a Stream.
public AddImage ( Stream stream ) : Image
stream Stream A Stream stream.
return Image
        public Image AddImage(Stream stream)
        {
            return AddImage(stream as object);
        }

Same methods

DocX::AddImage ( object o, string contentType = "image/jpeg" ) : Image
DocX::AddImage ( string filename ) : Image

Usage Example

Example #1
0
 public TemplGraphic Load(DocX doc)
 {
     if (!Loaded)
     {
         Image = doc.AddImage(Data);
         Loaded = true;
     }
     return this;
 }
All Usage Examples Of Novacode.DocX::AddImage