Class EmfEpsData
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Objects
Assembly: Aspose.Imaging.dll (25.7.0)
The EpsData object is a container for EPS data
public sealed class EmfEpsData : EmfObject
{
private Eps eps;
private EmfImage emfImage;
public EmfEpsData(EmfImage emfImage, Eps eps)
{
this.emfImage = emfImage;
this.eps = eps;
}
public void Save()
{
var stream = new MemoryStream();
using (var writer = PdfWriter.GetInstance(stream, new WriterProperties()))
{
writer.PSVersion = PdfWriter.VERSION_1_3;
writer.RunWithNewInstance(() =>
{
Eps.Save(writer);
emfImage.Save(writer);
});
}
stream.Position = 0;
eps.Load(stream);
}
}
Inheritance
object ← MetaObject ← EmfObject ← EmfEpsData
Inherited Members
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
EmfEpsData()
public EmfEpsData()
{
}
Properties
Points
Gets or sets an array of three Point28_4 objects (section 2.2.23) that defines thecoordinates of the output parallelogram using 28.4 bit FIX notation
public EmfPoint28To4[] Points
{
get;
set;
}
Property Value
Remarks
The upper-left corner of the parallelogram is the first point in this array, the upper-rightcorner is the second point, and the lower-left corner is the third point. The lower-right cornerof the parallelogram is computed from the first three points (A, B, and C) by treating them asvectors.
PostScriptData
Gets or sets an array of bytes of PostScript data. The length of this array canbe computed from the SizeData field. This data MAY be used to render an image.
public byte[] PostScriptData
{
get;
set;
}
Property Value
byte []
SizeData
Gets or sets a 32-bit unsigned integer that specifies the total size of this object, in bytes
public int SizeData
{
get;
set;
}
Property Value
Version
Gets or sets a 32-bit unsigned integer that specifies the PostScript language level. Thisvalue MUST be 0x00000001
public int Version
{
get;
set;
}