public final class WmfFormat extends ImageFormat
Represents WMF image format. See more https://en.wikipedia.org/wiki/Windows_Metafile
filePath, stream
Constructor and Description |
---|
WmfFormat(InputStream input)
Initializes a new instance of the
WmfFormat class. |
WmfFormat(String fileName)
Initializes a new instance of the
WmfFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Removes metadata.
|
int |
getType()
Gets document type.
|
fromFile, fromFile, fromStream, getByteOrder, getHeight, getWidth
dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public WmfFormat(String fileName)
Initializes a new instance of the WmfFormat
class.
fileName
- Absolute path to the file.public WmfFormat(InputStream input)
Initializes a new instance of the WmfFormat
class.
input
- File stream.public int getType()
Gets document type.
Value: Document type.getType
in class FormatBase
public void cleanMetadata()
Removes metadata. Not supported for current format.
cleanMetadata
in class ImageFormat
Copyright © 2017. All rights reserved.