<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Groupdocs API References – com.groupdocs.editor.htmlcss.resources.images.vector</title>
    <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/</link>
    <description>Recent content in com.groupdocs.editor.htmlcss.resources.images.vector on Groupdocs API References</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Java: EmfImage</title>
      <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/emfimage/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/emfimage/</guid>
      <description>
        
        
        &lt;p&gt;&lt;strong&gt;Inheritance:&lt;/strong&gt;
java.lang.Object, &lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase&#34;&gt;com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase&lt;/a&gt;, &lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images.vector/metaimagebase&#34;&gt;com.groupdocs.editor.htmlcss.resources.images.vector.MetaImageBase&lt;/a&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final class EmfImage extends MetaImageBase
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Represents one vector image in Enhanced metafile format (EMF) format with its metadata and additional methods&lt;/p&gt;
&lt;h2 id=&#34;constructors&#34;&gt;Constructors&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Constructor&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#EmfImage-java.lang.String-java.lang.String-&#34;&gt;EmfImage(String name, String contentInBase64)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Creates new EmfImage instance from content, represented as base64-encoded string, and with specified name&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#EmfImage-java.lang.String-java.io.InputStream-&#34;&gt;EmfImage(String name, InputStream binaryContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Creates new EmfImage instance from content, represented as byte stream, and with specified name&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;methods&#34;&gt;Methods&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isValid-java.io.InputStream-&#34;&gt;isValid(InputStream binaryContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Checks whether specified stream is a valid EMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isValid-java.lang.String-&#34;&gt;isValid(String contentInBase64)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Checks whether specified base64-encoded string is a valid EMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getType--&#34;&gt;getType()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns ImageType.Emf&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getByteContent--&#34;&gt;getByteContent()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a content of this EMF image as a binary stream&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getTextContent--&#34;&gt;getTextContent()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a content of this EMF image as a plain text&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#save-java.lang.String-&#34;&gt;save(String fullPathToFile)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Saves this EMF image to the file&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#saveToPng-java.io.OutputStream-&#34;&gt;saveToPng(OutputStream outputPngContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Saves this vector EMF image into raster PNG image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#saveToSvg-java.io.OutputStream-&#34;&gt;saveToSvg(OutputStream outputSvgContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Saves this vector EMF image into vector SVG image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#dispose--&#34;&gt;dispose()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Disposes this EMF image by disposing its content and making most its methods and properties non-working&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;EmfImage-java.lang.String-java.lang.String-&#34;&gt;EmfImage(String name, String contentInBase64)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public EmfImage(String name, String contentInBase64)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Creates new EmfImage instance from content, represented as base64-encoded string, and with specified name&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;name&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Name of the EMF image. Cannot be null, empty or whitespaces.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;contentInBase64&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a EMF content, exception will be thrown.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;EmfImage-java.lang.String-java.io.InputStream-&#34;&gt;EmfImage(String name, InputStream binaryContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public EmfImage(String name, InputStream binaryContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Creates new EmfImage instance from content, represented as byte stream, and with specified name&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;name&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Name of the EMF image. Cannot be null, empty or whitespaces.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;binaryContent&lt;/td&gt;
&lt;td&gt;java.io.InputStream&lt;/td&gt;
&lt;td&gt;Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;isValid-java.io.InputStream-&#34;&gt;isValid(InputStream binaryContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean isValid(InputStream binaryContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Checks whether specified stream is a valid EMF image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;binaryContent&lt;/td&gt;
&lt;td&gt;java.io.InputStream&lt;/td&gt;
&lt;td&gt;Input byte stream. Cannot be NULL, should support reading and seeking.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if specified stream holds a valid EMF image, false otherwise&lt;/p&gt;
&lt;h3 id=&#34;isValid-java.lang.String-&#34;&gt;isValid(String contentInBase64)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean isValid(String contentInBase64)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Checks whether specified base64-encoded string is a valid EMF image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;contentInBase64&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Input string, where content of EMF image is stored in base64 encoding. Cannot be NULL or empty.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if specified string holds a valid EMF image, false otherwise&lt;/p&gt;
&lt;h3 id=&#34;getType--&#34;&gt;getType()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public ImageType getType()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns ImageType.Emf&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getByteContent--&#34;&gt;getByteContent()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public InputStream getByteContent()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a content of this EMF image as a binary stream&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.io.InputStream&lt;/p&gt;
&lt;h3 id=&#34;getTextContent--&#34;&gt;getTextContent()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public String getTextContent()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a content of this EMF image as a plain text&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String -&lt;/p&gt;
&lt;h3 id=&#34;save-java.lang.String-&#34;&gt;save(String fullPathToFile)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void save(String fullPathToFile)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Saves this EMF image to the file&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;fullPathToFile&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Full path to the file, which will be created (if it doesn&amp;rsquo;t exist) or overwritten (if exists) with the content of this EMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;saveToPng-java.io.OutputStream-&#34;&gt;saveToPng(OutputStream outputPngContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void saveToPng(OutputStream outputPngContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Saves this vector EMF image into raster PNG image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;outputPngContent&lt;/td&gt;
&lt;td&gt;java.io.OutputStream&lt;/td&gt;
&lt;td&gt;Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;saveToSvg-java.io.OutputStream-&#34;&gt;saveToSvg(OutputStream outputSvgContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void saveToSvg(OutputStream outputSvgContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Saves this vector EMF image into vector SVG image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;outputSvgContent&lt;/td&gt;
&lt;td&gt;java.io.OutputStream&lt;/td&gt;
&lt;td&gt;Output stream, into which the content of SVG image will be written. Cannot be NULL and should be writable.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;dispose--&#34;&gt;dispose()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void dispose()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Disposes this EMF image by disposing its content and making most its methods and properties non-working&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Java: MetaImageBase</title>
      <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/metaimagebase/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/metaimagebase/</guid>
      <description>
        
        
        &lt;p&gt;&lt;strong&gt;Inheritance:&lt;/strong&gt;
java.lang.Object, &lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase&#34;&gt;com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase&lt;/a&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract class MetaImageBase extends VectorImageResourceBase
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Base abstract class for WMF and EMF image formats&lt;/p&gt;
&lt;h2 id=&#34;constructors&#34;&gt;Constructors&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Constructor&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#MetaImageBase-java.lang.String-java.lang.String-boolean-&#34;&gt;MetaImageBase(String name, String contentInBase64, boolean isWmf)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Common constructor, which prepares a creating a WMF or EMF instance from base64-encoded string&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#MetaImageBase-java.lang.String-java.io.InputStream-boolean-&#34;&gt;MetaImageBase(String name, InputStream binaryContent, boolean isWmf)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Common constructor, which prepares a creating a WMF or EMF instance from byte stream&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;methods&#34;&gt;Methods&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isValidWmf-java.io.InputStream-&#34;&gt;isValidWmf(InputStream binaryContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether specified byte stream contains a valid WMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isValidWmf-java.lang.String-&#34;&gt;isValidWmf(String contentInBase64)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether specified string contains a valid WMF image, which is encoded with base64&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isValidEmf-java.io.InputStream-&#34;&gt;isValidEmf(InputStream binaryContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether specified byte stream contains a valid EMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isValidEmf-java.lang.String-&#34;&gt;isValidEmf(String contentInBase64)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether specified string contains a valid EMF image, which is encoded with base64&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#saveToSvg-java.io.OutputStream-&#34;&gt;saveToSvg(OutputStream outputSvgContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should save a current vector meta-image to the vector SVG format into specified byte stream&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;MetaImageBase-java.lang.String-java.lang.String-boolean-&#34;&gt;MetaImageBase(String name, String contentInBase64, boolean isWmf)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public MetaImageBase(String name, String contentInBase64, boolean isWmf)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Common constructor, which prepares a creating a WMF or EMF instance from base64-encoded string&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;name&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Mandatory name&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;contentInBase64&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Content as base64 string. Should be not NULL or empty.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;isWmf&lt;/td&gt;
&lt;td&gt;boolean&lt;/td&gt;
&lt;td&gt;true for WMF, false for EMF&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;MetaImageBase-java.lang.String-java.io.InputStream-boolean-&#34;&gt;MetaImageBase(String name, InputStream binaryContent, boolean isWmf)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public MetaImageBase(String name, InputStream binaryContent, boolean isWmf)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Common constructor, which prepares a creating a WMF or EMF instance from byte stream&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;name&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Mandatory name&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;binaryContent&lt;/td&gt;
&lt;td&gt;java.io.InputStream&lt;/td&gt;
&lt;td&gt;Content as byte stream. Should be valid.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;isWmf&lt;/td&gt;
&lt;td&gt;boolean&lt;/td&gt;
&lt;td&gt;true for WMF, false for EMF&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;isValidWmf-java.io.InputStream-&#34;&gt;isValidWmf(InputStream binaryContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean isValidWmf(InputStream binaryContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether specified byte stream contains a valid WMF image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;binaryContent&lt;/td&gt;
&lt;td&gt;java.io.InputStream&lt;/td&gt;
&lt;td&gt;Input byte stream. Should be valid.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - Returns &amp;rsquo;true&amp;rsquo; if valid and &amp;lsquo;false&amp;rsquo; if invalid&lt;/p&gt;
&lt;h3 id=&#34;isValidWmf-java.lang.String-&#34;&gt;isValidWmf(String contentInBase64)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean isValidWmf(String contentInBase64)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether specified string contains a valid WMF image, which is encoded with base64&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;contentInBase64&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;String, which is assumed to contain a base64-encoded WMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - Returns &amp;rsquo;true&amp;rsquo; if valid and &amp;lsquo;false&amp;rsquo; if invalid&lt;/p&gt;
&lt;h3 id=&#34;isValidEmf-java.io.InputStream-&#34;&gt;isValidEmf(InputStream binaryContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean isValidEmf(InputStream binaryContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether specified byte stream contains a valid EMF image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;binaryContent&lt;/td&gt;
&lt;td&gt;java.io.InputStream&lt;/td&gt;
&lt;td&gt;Input byte stream. Should be valid.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - Returns &amp;rsquo;true&amp;rsquo; if valid and &amp;lsquo;false&amp;rsquo; if invalid&lt;/p&gt;
&lt;h3 id=&#34;isValidEmf-java.lang.String-&#34;&gt;isValidEmf(String contentInBase64)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean isValidEmf(String contentInBase64)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether specified string contains a valid EMF image, which is encoded with base64&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;contentInBase64&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;String, which is assumed to contain a base64-encoded EMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - Returns &amp;rsquo;true&amp;rsquo; if valid and &amp;lsquo;false&amp;rsquo; if invalid&lt;/p&gt;
&lt;h3 id=&#34;saveToSvg-java.io.OutputStream-&#34;&gt;saveToSvg(OutputStream outputSvgContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract void saveToSvg(OutputStream outputSvgContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should save a current vector meta-image to the vector SVG format into specified byte stream&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;outputSvgContent&lt;/td&gt;
&lt;td&gt;java.io.OutputStream&lt;/td&gt;
&lt;td&gt;Byte stream, into which the SVG version of this vector meta-image will be stored. Should not be NULL and should support writing.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

      </description>
    </item>
    
    <item>
      <title>Java: SvgImage</title>
      <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/svgimage/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/svgimage/</guid>
      <description>
        
        
        &lt;p&gt;&lt;strong&gt;Inheritance:&lt;/strong&gt;
java.lang.Object, &lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase&#34;&gt;com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase&lt;/a&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final class SvgImage extends VectorImageResourceBase
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Represents one vector image in SVG (Scalable Vector Graphics) format with its metadata and additional methods&lt;/p&gt;
&lt;h2 id=&#34;constructors&#34;&gt;Constructors&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Constructor&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#SvgImage-java.lang.String-java.lang.String-&#34;&gt;SvgImage(String name, String content)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Creates new SvgImage instance from content, represented as usual string, and with specified name&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#SvgImage-java.lang.String-java.io.InputStream-&#34;&gt;SvgImage(String name, InputStream binaryContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Creates new SvgImage instance from content, represented as byte stream, and with specified name&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;methods&#34;&gt;Methods&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isValid-java.lang.String-&#34;&gt;isValid(String content)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Performs a surface check whether specified textual XML-compliant content represents a SVG image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getType--&#34;&gt;getType()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns ImageType.Svg&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getByteContent--&#34;&gt;getByteContent()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a content of this SVG image as a binary stream&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getTextContent--&#34;&gt;getTextContent()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a content of this SVG image as a plain text (in XML format)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getXmlContent--&#34;&gt;getXmlContent()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a content of this SVG image int its original XML-compliant textual form&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#save-java.lang.String-&#34;&gt;save(String fullPathToFile)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Saves this SVG image to the file&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#saveToPng-java.io.OutputStream-&#34;&gt;saveToPng(OutputStream outputPngContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Saves this vector SVG image into raster PNG image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#dispose--&#34;&gt;dispose()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Disposes this raster image, disposing its content and making most methods and properties non-working&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;SvgImage-java.lang.String-java.lang.String-&#34;&gt;SvgImage(String name, String content)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public SvgImage(String name, String content)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Creates new SvgImage instance from content, represented as usual string, and with specified name&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;name&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Name of the SVG image. Cannot be null, empty or whitespaces.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;content&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Content as a usual string, which contains a valid XML-compliant content of SVG image. Cannot be null, empty or whitespaces. If it is not a SVG content, exception will be thrown.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;SvgImage-java.lang.String-java.io.InputStream-&#34;&gt;SvgImage(String name, InputStream binaryContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public SvgImage(String name, InputStream binaryContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Creates new SvgImage instance from content, represented as byte stream, and with specified name&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;name&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Name of the SVG image. Cannot be null, empty or whitespaces.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;binaryContent&lt;/td&gt;
&lt;td&gt;java.io.InputStream&lt;/td&gt;
&lt;td&gt;Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;isValid-java.lang.String-&#34;&gt;isValid(String content)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean isValid(String content)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Performs a surface check whether specified textual XML-compliant content represents a SVG image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;content&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;XML content of an SVG image as simple text, not a base64-encoded content&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if specified string can be treated as valid SVG at first look, false if it is not SVG for sure&lt;/p&gt;
&lt;h3 id=&#34;getType--&#34;&gt;getType()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public ImageType getType()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns ImageType.Svg&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt; -&lt;/p&gt;
&lt;h3 id=&#34;getByteContent--&#34;&gt;getByteContent()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public InputStream getByteContent()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a content of this SVG image as a binary stream&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.io.InputStream -&lt;/p&gt;
&lt;h3 id=&#34;getTextContent--&#34;&gt;getTextContent()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public String getTextContent()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a content of this SVG image as a plain text (in XML format)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String -&lt;/p&gt;
&lt;h3 id=&#34;getXmlContent--&#34;&gt;getXmlContent()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final String getXmlContent()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a content of this SVG image int its original XML-compliant textual form&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String -&lt;/p&gt;
&lt;h3 id=&#34;save-java.lang.String-&#34;&gt;save(String fullPathToFile)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void save(String fullPathToFile)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Saves this SVG image to the file&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;fullPathToFile&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Full path to the file, which will be created (if it doesn&amp;rsquo;t exist) or overwritten (if exists) with the content of this SVG image&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;saveToPng-java.io.OutputStream-&#34;&gt;saveToPng(OutputStream outputPngContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void saveToPng(OutputStream outputPngContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Saves this vector SVG image into raster PNG image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;outputPngContent&lt;/td&gt;
&lt;td&gt;java.io.OutputStream&lt;/td&gt;
&lt;td&gt;Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;dispose--&#34;&gt;dispose()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void dispose()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Disposes this raster image, disposing its content and making most methods and properties non-working&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Java: VectorImageResourceBase</title>
      <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/</guid>
      <description>
        
        
        &lt;p&gt;&lt;strong&gt;Inheritance:&lt;/strong&gt;
java.lang.Object&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;All Implemented Interfaces:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/iimageresource&#34;&gt;com.groupdocs.editor.htmlcss.resources.images.IImageResource&lt;/a&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract class VectorImageResourceBase implements IImageResource
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Base class for any supported vector image&lt;/p&gt;
&lt;h2 id=&#34;constructors&#34;&gt;Constructors&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Constructor&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#VectorImageResourceBase--&#34;&gt;VectorImageResourceBase()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;fields&#34;&gt;Fields&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#Disposed&#34;&gt;Disposed&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;methods&#34;&gt;Methods&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getName--&#34;&gt;getName()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns name of this vector image.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getFilenameWithExtension--&#34;&gt;getFilenameWithExtension()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns correct filename of this vector image, which consists of name and extension.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getAspectRatio--&#34;&gt;getAspectRatio()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns aspect ratio of this vector image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getLinearDimensions--&#34;&gt;getLinearDimensions()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns linear dimensions of this vector image (width and height)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#equals-com.groupdocs.editor.htmlcss.resources.IHtmlResource-&#34;&gt;equals(IHtmlResource other)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Checks this instance with specified on reference equality.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isDisposed--&#34;&gt;isDisposed()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether this raster image is disposed or not&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getType--&#34;&gt;getType()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should return information about type of the vector image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getByteContent--&#34;&gt;getByteContent()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should return a content of this vector image as byte stream&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getTextContent--&#34;&gt;getTextContent()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#save-java.lang.String-&#34;&gt;save(String fullPathToFile)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should save this image to the disk by specified path&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#saveToPng-java.io.OutputStream-&#34;&gt;saveToPng(OutputStream outputPngContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should save a current vector image to the raster PNG format into specified byte stream&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#dispose--&#34;&gt;dispose()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should dispose this instance&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;VectorImageResourceBase--&#34;&gt;VectorImageResourceBase()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public VectorImageResourceBase()
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;Disposed&#34;&gt;Disposed&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final Event&amp;lt;EventHandler&amp;gt; Disposed
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;getName--&#34;&gt;getName()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final String getName()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns name of this vector image. Usually doesn&amp;rsquo;t contain filename extension and theoretically can differ from filename.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String&lt;/p&gt;
&lt;h3 id=&#34;getFilenameWithExtension--&#34;&gt;getFilenameWithExtension()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final String getFilenameWithExtension()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String&lt;/p&gt;
&lt;h3 id=&#34;getAspectRatio--&#34;&gt;getAspectRatio()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final Ratio getAspectRatio()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns aspect ratio of this vector image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.css.datatypes/ratio&#34;&gt;Ratio&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getLinearDimensions--&#34;&gt;getLinearDimensions()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final Dimensions getLinearDimensions()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns linear dimensions of this vector image (width and height)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;equals-com.groupdocs.editor.htmlcss.resources.IHtmlResource-&#34;&gt;equals(IHtmlResource other)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final boolean equals(IHtmlResource other)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Checks this instance with specified on reference equality.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;other&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources/ihtmlresource&#34;&gt;IHtmlResource&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Other instance of vector image&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if are equal, false if are unequal&lt;/p&gt;
&lt;h3 id=&#34;isDisposed--&#34;&gt;isDisposed()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final boolean isDisposed()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether this raster image is disposed or not&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean -&lt;/p&gt;
&lt;h3 id=&#34;getType--&#34;&gt;getType()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract ImageType getType()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should return information about type of the vector image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt; -&lt;/p&gt;
&lt;h3 id=&#34;getByteContent--&#34;&gt;getByteContent()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public InputStream getByteContent()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should return a content of this vector image as byte stream&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.io.InputStream -&lt;/p&gt;
&lt;h3 id=&#34;getTextContent--&#34;&gt;getTextContent()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract String getTextContent()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String -&lt;/p&gt;
&lt;h3 id=&#34;save-java.lang.String-&#34;&gt;save(String fullPathToFile)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract void save(String fullPathToFile)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should save this image to the disk by specified path&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;fullPathToFile&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;saveToPng-java.io.OutputStream-&#34;&gt;saveToPng(OutputStream outputPngContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract void saveToPng(OutputStream outputPngContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should save a current vector image to the raster PNG format into specified byte stream&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;outputPngContent&lt;/td&gt;
&lt;td&gt;java.io.OutputStream&lt;/td&gt;
&lt;td&gt;Byte stream, into which the PNG version of this raster image will be stored. Should not be NULL and should support writing.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;dispose--&#34;&gt;dispose()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract void dispose()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should dispose this instance&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Java: WmfImage</title>
      <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/wmfimage/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/wmfimage/</guid>
      <description>
        
        
        &lt;p&gt;&lt;strong&gt;Inheritance:&lt;/strong&gt;
java.lang.Object, &lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase&#34;&gt;com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase&lt;/a&gt;, &lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images.vector/metaimagebase&#34;&gt;com.groupdocs.editor.htmlcss.resources.images.vector.MetaImageBase&lt;/a&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final class WmfImage extends MetaImageBase
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Represents one vector image in WMF (Windows MetaFile) format with its metadata and additional methods&lt;/p&gt;
&lt;h2 id=&#34;constructors&#34;&gt;Constructors&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Constructor&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#WmfImage-java.lang.String-java.lang.String-&#34;&gt;WmfImage(String name, String contentInBase64)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Creates new WmfImage instance from content, represented as base64-encoded string, and with specified name&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#WmfImage-java.lang.String-java.io.InputStream-&#34;&gt;WmfImage(String name, InputStream binaryContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Creates new WmfImage instance from content, represented as byte stream, and with specified name&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;methods&#34;&gt;Methods&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isValid-java.io.InputStream-&#34;&gt;isValid(InputStream binaryContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Checks whether specified stream is a valid WMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isValid-java.lang.String-&#34;&gt;isValid(String contentInBase64)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Checks whether specified base64-encoded string is a valid WMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getType--&#34;&gt;getType()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns ImageType.Wmf&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getByteContent--&#34;&gt;getByteContent()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a content of this WMF image as a binary stream&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getTextContent--&#34;&gt;getTextContent()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a content of this WMF image as a plain text&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#save-java.lang.String-&#34;&gt;save(String fullPathToFile)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Saves this WMF image to the file&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#saveToPng-java.io.OutputStream-&#34;&gt;saveToPng(OutputStream outputPngContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Saves this vector WMF image into raster PNG image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#saveToSvg-java.io.OutputStream-&#34;&gt;saveToSvg(OutputStream outputSvgContent)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Saves this vector WMF image into vector SVG image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#dispose--&#34;&gt;dispose()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Disposes this WMF image by disposing its content and making most its methods and properties non-working&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;WmfImage-java.lang.String-java.lang.String-&#34;&gt;WmfImage(String name, String contentInBase64)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public WmfImage(String name, String contentInBase64)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Creates new WmfImage instance from content, represented as base64-encoded string, and with specified name&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;name&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Name of the WMF image. Cannot be null, empty or whitespaces.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;contentInBase64&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WMF content, exception will be thrown.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;WmfImage-java.lang.String-java.io.InputStream-&#34;&gt;WmfImage(String name, InputStream binaryContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public WmfImage(String name, InputStream binaryContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Creates new WmfImage instance from content, represented as byte stream, and with specified name&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;name&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Name of the WMF image. Cannot be null, empty or whitespaces.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;binaryContent&lt;/td&gt;
&lt;td&gt;java.io.InputStream&lt;/td&gt;
&lt;td&gt;Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;isValid-java.io.InputStream-&#34;&gt;isValid(InputStream binaryContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean isValid(InputStream binaryContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Checks whether specified stream is a valid WMF image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;binaryContent&lt;/td&gt;
&lt;td&gt;java.io.InputStream&lt;/td&gt;
&lt;td&gt;Input byte stream. Cannot be NULL, should support reading and seeking.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if specified stream holds a valid WMF image, false otherwise&lt;/p&gt;
&lt;h3 id=&#34;isValid-java.lang.String-&#34;&gt;isValid(String contentInBase64)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean isValid(String contentInBase64)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Checks whether specified base64-encoded string is a valid WMF image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;contentInBase64&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Input string, where content of WMF image is stored in base64 encoding. Cannot be NULL or empty.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if specified string holds a valid WMF image, false otherwise&lt;/p&gt;
&lt;h3 id=&#34;getType--&#34;&gt;getType()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public ImageType getType()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns ImageType.Wmf&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt; -&lt;/p&gt;
&lt;h3 id=&#34;getByteContent--&#34;&gt;getByteContent()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public InputStream getByteContent()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a content of this WMF image as a binary stream&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.io.InputStream -&lt;/p&gt;
&lt;h3 id=&#34;getTextContent--&#34;&gt;getTextContent()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public String getTextContent()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a content of this WMF image as a plain text&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String -&lt;/p&gt;
&lt;h3 id=&#34;save-java.lang.String-&#34;&gt;save(String fullPathToFile)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void save(String fullPathToFile)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Saves this WMF image to the file&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;fullPathToFile&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Full path to the file, which will be created (if it doesn&amp;rsquo;t exist) or overwritten (if exists) with the content of this WMF image&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;saveToPng-java.io.OutputStream-&#34;&gt;saveToPng(OutputStream outputPngContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void saveToPng(OutputStream outputPngContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Saves this vector WMF image into raster PNG image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;outputPngContent&lt;/td&gt;
&lt;td&gt;java.io.OutputStream&lt;/td&gt;
&lt;td&gt;Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;saveToSvg-java.io.OutputStream-&#34;&gt;saveToSvg(OutputStream outputSvgContent)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void saveToSvg(OutputStream outputSvgContent)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Saves this vector WMF image into vector SVG image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;outputSvgContent&lt;/td&gt;
&lt;td&gt;java.io.OutputStream&lt;/td&gt;
&lt;td&gt;Output stream, into which the content of SVG image will be written. Cannot be NULL and should be writable.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;dispose--&#34;&gt;dispose()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public void dispose()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Disposes this WMF image by disposing its content and making most its methods and properties non-working&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
