Class ImageBehaviors
ImageBehaviors class for handling image related works.
Inherited Members
Namespace: Phoenix.Aruba.Behaviors
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public static class ImageBehaviors
Properties
View SourceThumbnailImageHeight
Gets the ThumbnailImageHeight.
Declaration
public static int ThumbnailImageHeight { get; }
Property Value
Type | Description |
---|---|
int |
ThumbnailImageWidth
Gets the ThumbnailImageWidth.
Declaration
public static int ThumbnailImageWidth { get; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceCreateThumbnailImage(Image)
Create a thumbnail pastable image.
Declaration
public static Image CreateThumbnailImage(Image originalImage)
Parameters
Type | Name | Description |
---|---|---|
Image | originalImage | Image for thumbnail. |
Returns
Type | Description |
---|---|
Image | The thumbnail image. |
IsAnImage(string)
Checking that copied file in an Image file.
Declaration
public static bool IsAnImage(string fileName)
Parameters
Type | Name | Description |
---|---|---|
string | fileName | File name with full local path. |
Returns
Type | Description |
---|---|
bool | The bool value{true if file is an Image file false for others}. |