[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.VectorGraphicImageData

Class VectorGraphicImageData

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents the image data of an SVG vector image.

Note that when an SVG image is added to the document, it is automatically rasterized, and the raster copy of the image is saved in an ImageData instance. The VectorGraphicImageData class is used to preserve the original vector image.

public class VectorGraphicImageData
Inheritance
object
VectorGraphicImageData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

ContentType

Gets the vector image content type.

public string ContentType { get; }

Property Value

string

ImageBytes

Gets the raw bytes of the vector image.

public byte[] ImageBytes { get; }

Property Value

byte[]

Source

Gets the path and name of the source file for the linked image.

public Uri Source { get; }

Property Value

System.Uri

Methods

Save(Stream)

Saves the image into a specified stream.

public void Save(Stream stream)

Parameters

stream System.IO.Stream

The stream where to save the image.