public final class EmfFormat extends ImageFormat
Represents EMF image format.
filePath, stream
Constructor and Description |
---|
EmfFormat(InputStream input)
Initializes a new instance of the
EmfFormat class. |
EmfFormat(String fileName)
Initializes a new instance of the
EmfFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Removes metadata.
|
int |
getType()
Gets document type.
|
fromFile, fromFile, fromStream, getByteOrder, getHeight, getWidth
close, dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public EmfFormat(String fileName)
Initializes a new instance of the EmfFormat
class.
fileName
- Absolute path to the file.public EmfFormat(InputStream input)
Initializes a new instance of the EmfFormat
class.
input
- File stream.public int getType()
Gets document type.
getType
in class FormatBase
public void cleanMetadata()
Removes metadata. Not supported for current format.
cleanMetadata
in class ImageFormat
Copyright © 2018. All rights reserved.