'Declaration Public Overloads Function AddImageResource( _
ByVal elementThe element, where image must be added.As Vintasoft.Imaging.Office.OpenXml.Editor.OpenXmlDocumentElement, _
ByVal imageStreamThe stream that contains image file.As System.IO.Stream, _
ByVal progressControllerThe progress controller.As Vintasoft.Imaging.Utils.IActionProgressController _
) As System.String
public System.String AddImageResource(
Vintasoft.Imaging.Office.OpenXml.Editor.OpenXmlDocumentElement element,
System.IO.Stream imageStream,
Vintasoft.Imaging.Utils.IActionProgressController progressController
)
public: System.String AddImageResource(
Vintasoft.Imaging.Office.OpenXml.Editor.OpenXmlDocumentElement* element,
System.IO.Stream* imageStream,
Vintasoft.Imaging.Utils.IActionProgressController* progressController
)
public:
System.String AddImageResource(
Vintasoft.Imaging.Office.OpenXml.Editor.OpenXmlDocumentElement^ element,
System.IO.Stream^ imageStream,
Vintasoft.Imaging.Utils.IActionProgressController^ progressController
)
Parameters
- element
- The element, where image must be added.
- imageStream
- The stream that contains image file.
- progressController
- The progress controller.
Return Value
A string with resource identifier if image is added successfully; otherwise, null.