Sign In  Sign Up Live-Chat
Collapse/expand the left pane
Are you looking for an evaluation version of a product?
If so you can download any of the below versions for testing. The component will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the component to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
NOTE:  If you experience errors like ’Internet explorer cannot display the web page’ is shown when you try to download a file, make sure your networking policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Aspose.Metafiles for Java 1.2.5.0 Hot Fix

File Details
Downloads: 35 File Size: 255.8kB
Posted By: alcrus Views: 347
Date Added: Mon, Oct 08 2007
What's New:
  • Reading comments from a metafile. Small example how to read comments:
WmfMetafile wfile = new WmfMetafile(file);
MetafileComment[] comments = wfile.getComments();
for(int i = 0; i < comments.length; i++) {
System.out.println("comment " + comments[i].getRecordIndex() + ": " +
Charset.defaultCharset().decode(ByteBuffer.wrap(comments[i].getCommentData())).toString());
}
  • Rendering text in different charsets. Aspose.Metafiles should select right charset automatically but it is possible to override it through rendering hints.
MetafileCharsetCollection cc = new MetafileCharsetCollection();
Charset charset = (Charset)Charset.availableCharsets().get("windows-1251");
cc.SetCharset(MetafileCharsetCollection.DEFAULT_CHARSET, charset);
renderingHints.put(MetafileCharsetCollection.METAFILES_CHARSET_COLLECTION, cc);

Fixed:
  • 3862 - Aspose.Metafiles didn't work with Aspose.Total for Java license.
Comments
No comments exist for this file.