Skip to main content

Class ImageItem.ImageSource

Namespace: Aurigma.DesignAtoms.Model.Items
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class ImageSource

Inheritance: System.Object -> ImageItem.ImageSource

Inherited Members

  • System.Object.ToString
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Constructors

ImageSource

public ImageSource()

ImageSource

public ImageSource(string storageId, int pageIndex, SourceOrigin origin = null)

ImageSource

public ImageSource(string storageId, int width, int height, bool isVector, int pageIndex, SourceOrigin origin = null)

ImageSource

public ImageSource(Uri uri, bool? actualSize = null, bool? saveAspectRatio = null, SourceOrigin origin = null)

Properties

Origin

public SourceOrigin Origin { get; }

Path

public string Path { get; set; }

FileSource

public FileInfo FileSource { get; set; }

StorageId

public string StorageId { get; set; }

PageIndex

public int PageIndex { get; set; }

Url

public Uri Url { get; set; }

ActualSize

public bool ActualSize { get; }

SaveAspectRatio

public bool SaveAspectRatio { get; set; }

Methods

SetStorageId

public void SetStorageId(string storageId, SourceOrigin origin = null)
Parameters
TypeNameDescription
System.StringstorageId
Aurigma.DesignAtoms.Model.Items.SourceOriginorigin

GetBytes

public virtual byte[] GetBytes()
Returns

System.Byte[]

Equals

public override bool Equals(object obj)
Parameters
TypeNameDescription
System.Objectobj
Returns

System.Boolean

Overrides
  • System.Object.Equals(System.Object)

Equals

protected bool Equals(ImageItem.ImageSource other)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Model.Items.ImageItem.ImageSourceother
Returns

System.Boolean

Clone

public ImageItem.ImageSource Clone()
Returns

Aurigma.DesignAtoms.Model.Items.ImageItem.ImageSource

Fields

Type

public ImageItem.ImageSource.SourceType Type
Was this page helpful?