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()
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
Constructors
ImageSource()
Declaration
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
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
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
Equals(ImageItem.ImageSource)
Declaration
protected bool Equals(ImageItem.ImageSource other)
Parameters
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 |
|