Struct pdf_writer::writers::Resources [−][src]
pub struct Resources<'a> { /* fields omitted */ }
Expand description
Writer for a resource dictionary.
This struct is created by Pages::resources
, Page::resources
,
FormXObject::resources
, and TilingPattern::resources
.
Implementations
Set the /ProcSet
attribute.
This defines what procedure sets are sent to an output device when printing the file as PostScript. The attribute is only used for PDFs with versions below 1.4.
Set the /ProcSet
attribute to all available procedure sets.
The PDF 1.7 specification recommends that modern PDFs either omit the attribute or specify all available procedure sets, as this function does.
Methods from Deref<Target = Dict<'a>>
Start writing a pair with an arbitrary value.
Write a pair with a primitive value.
This is a shorthand for dict.insert(key).primitive(value)
.