PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations.richmedia Package / PDFRichMediaAsset Class / setMimeType Method
The MIME type for the asset data.
Collapse All Expand All
In This Topic

setMimeType Method
In This Topic
Sets the MIME type for the asset data.
Syntax

    public void setMimeType(
       java.lang.String mimeType
    )

#### Parameters

mimeType
  The MIME type for the asset data.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When mimeType is null or empty.

See Also

#### Reference

PDFRichMediaAsset Class
PDFRichMediaAsset Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.