Interface IPALImage
Inherited Members
System.IDisposable.Dispose()
Assembly: NFX.dll
Syntax
public interface IPALImage : IDisposable
Properties
Declaration
ImagePixelFormat PixelFormat { get; }
Property Value
Methods
CreateCanvas()
Declaration
IPALCanvas CreateCanvas()
Returns
GetPixel(Point)
Declaration
Parameters
Type |
Name |
Description |
System.Drawing.Point |
p |
|
Returns
Type |
Description |
System.Drawing.Color |
|
GetPixel(PointF)
Declaration
Parameters
Type |
Name |
Description |
System.Drawing.PointF |
p |
|
Returns
Type |
Description |
System.Drawing.Color |
|
GetSize()
Declaration
Returns
Type |
Description |
System.Drawing.Size |
|
GetXResolution()
Declaration
Returns
Type |
Description |
System.Int32 |
|
GetYResolution()
Declaration
Returns
Type |
Description |
System.Int32 |
|
MakeTransparent(Nullable<Color>)
Declaration
void MakeTransparent(Color? dflt)
Parameters
Type |
Name |
Description |
System.Nullable<System.Drawing.Color> |
dflt |
|
Declaration
byte[] Save(ImageFormat format)
Parameters
Returns
Type |
Description |
System.Byte[] |
|
Declaration
void Save(Stream stream, ImageFormat format)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
ImageFormat |
format |
|
Declaration
void Save(string fileName, ImageFormat format)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
ImageFormat |
format |
|
SetPixel(Point, Color)
Declaration
void SetPixel(Point p, Color color)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
p |
|
System.Drawing.Color |
color |
|
SetPixel(PointF, Color)
Declaration
void SetPixel(PointF p, Color color)
Parameters
Type |
Name |
Description |
System.Drawing.PointF |
p |
|
System.Drawing.Color |
color |
|
SetResolution(Int32, Int32)
Declaration
void SetResolution(int xDPI, int yDPI)
Parameters
Type |
Name |
Description |
System.Int32 |
xDPI |
|
System.Int32 |
yDPI |
|
Extension Methods