'Declaration Public Overloads Function AddImageResource( _
ByVal elementThe element, where image must be added.As Vintasoft.Imaging.Office.OpenXml.Editor.OpenXmlDocumentElement, _
ByVal imageAn image to add.As Vintasoft.Imaging.VintasoftImage, _
ByVal encoderAn encoder that should be used to encode an image.As Vintasoft.Imaging.Codecs.Encoders.EncoderBase, _
ByVal progressControllerThe progress controller.As Vintasoft.Imaging.Utils.IActionProgressController _
) As System.String
public System.String AddImageResource(
Vintasoft.Imaging.Office.OpenXml.Editor.OpenXmlDocumentElement element,
Vintasoft.Imaging.VintasoftImage image,
Vintasoft.Imaging.Codecs.Encoders.EncoderBase encoder,
Vintasoft.Imaging.Utils.IActionProgressController progressController
)
Parameters
- element
- The element, where image must be added.
- image
- An image to add.
- encoder
- An encoder that should be used to encode an image.
- progressController
- The progress controller.
Return Value
A string with resource identifier if image is added successfully; otherwise, null.