add_image_to_drawing

Function add_image_to_drawing 

Source
pub fn add_image_to_drawing(
    drawing: &mut WsDr,
    image_ref_id: &str,
    config: &ImageConfig,
    pic_id: u32,
) -> Result<()>
Expand description

Add an image anchor to an existing drawing.

If a drawing already exists for a sheet (e.g., it already has a chart), this function adds the image anchor to it.