Skip to main content

set_attachment_description

Function set_attachment_description 

Source
pub fn set_attachment_description(
    edit: &mut EditDoc<'_>,
    limits: &Limits,
    index: usize,
    text: &str,
) -> Result<bool, Error>
Expand description

Sets the file specification’s /Desc; Ok(false) when there is no such attachment.

§Errors

When the document has no catalog to hold the tree.