Cmdlet
Add-OfficeEpubResource
Adds an image, font, stylesheet or media payload without executing it.
Syntax
Add-OfficeEpubResource
[-ContainerPath <String>]
[-Document <EpubPublication>]
-Id <String>
[-MaxInputBytes <Int64>]
-MediaType <String>
[-PassThru]
[-Path] <String>
[<CommonParameters>]#Parameter set:
DefaultExamples
Adds an image, font, stylesheet or media payload without executing it.
$book | Add-OfficeEpubResource -Path ./cover.png -Id cover -MediaType image/pngParameters
- -ContainerPath String
- Optional package-relative path; omission uses EPUB/assets and the source filename.
- -Document EpubPublication
- Gets or sets an explicit live document; omission uses the enclosing content block.
- -Id String
- Unique manifest identifier.
- -MaxInputBytes Int64
- Maximum input payload bytes.
- -MediaType String
- Explicit MIME type.
- -PassThru SwitchParameter
- Return the created or changed object.
- -Path String
- Literal payload path.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.