Back to Website
Show / Hide Table of Contents

Class ImageItem.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()
Namespace: Aurigma.DesignAtoms.Model.Items
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class ImageSource

Constructors

ImageSource()

Declaration
public ImageSource()

ImageSource(String, Int32, SourceOrigin)

Declaration
public ImageSource(string storageId, int pageIndex, SourceOrigin origin = null)
Parameters
Type Name Description
System.String storageId
System.Int32 pageIndex
SourceOrigin origin

ImageSource(String, Int32, Int32, Boolean, Int32, SourceOrigin)

Declaration
public ImageSource(string storageId, int width, int height, bool isVector, int pageIndex, SourceOrigin origin = null)
Parameters
Type Name Description
System.String storageId
System.Int32 width
System.Int32 height
System.Boolean isVector
System.Int32 pageIndex
SourceOrigin origin

ImageSource(Uri, Nullable<Boolean>, Nullable<Boolean>, SourceOrigin)

Declaration
public ImageSource(Uri uri, bool? actualSize = null, bool? saveAspectRatio = null, SourceOrigin origin = null)
Parameters
Type Name Description
System.Uri uri
System.Nullable<System.Boolean> actualSize
System.Nullable<System.Boolean> saveAspectRatio
SourceOrigin origin

Fields

Type

Declaration
public ImageItem.ImageSource.SourceType Type
Field Value
Type Description
ImageItem.ImageSource.SourceType

Properties

ActualSize

Declaration
public bool ActualSize { get; }
Property Value
Type Description
System.Boolean

FileSource

Declaration
public FileInfo FileSource { get; set; }
Property Value
Type Description
System.IO.FileInfo

Origin

Declaration
public SourceOrigin Origin { get; }
Property Value
Type Description
SourceOrigin

PageIndex

Declaration
public int PageIndex { get; set; }
Property Value
Type Description
System.Int32

Path

Declaration
public string Path { get; set; }
Property Value
Type Description
System.String

SaveAspectRatio

Declaration
public bool SaveAspectRatio { get; set; }
Property Value
Type Description
System.Boolean

StorageId

Declaration
public string StorageId { get; set; }
Property Value
Type Description
System.String

Url

Declaration
public Uri Url { get; set; }
Property Value
Type Description
System.Uri

Methods

Clone()

Declaration
public ImageItem.ImageSource Clone()
Returns
Type Description
ImageItem.ImageSource

Equals(ImageItem.ImageSource)

Declaration
protected bool Equals(ImageItem.ImageSource other)
Parameters
Type Name Description
ImageItem.ImageSource other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetBytes()

Declaration
public virtual byte[] GetBytes()
Returns
Type Description
System.Byte[]

SetStorageId(String, SourceOrigin)

Declaration
public void SetStorageId(string storageId, SourceOrigin origin = null)
Parameters
Type Name Description
System.String storageId
SourceOrigin origin
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback