Class SfImage
Inheritance
System.Object
SfImage
Assembly: Syncfusion.Core.XForms.macOS.dll
public class SfImage : NSImage
Constructors
Declaration
Declaration
public SfImage(NSPasteboard pasteboard)
Parameters
Type |
Name |
Description |
AppKit.NSPasteboard |
pasteboard |
|
Declaration
public SfImage(CGImage cgImage, CGSize size)
Parameters
Type |
Name |
Description |
CoreGraphics.CGImage |
cgImage |
|
CoreGraphics.CGSize |
size |
|
Declaration
public SfImage(CGSize aSize)
Parameters
Type |
Name |
Description |
CoreGraphics.CGSize |
aSize |
|
Declaration
public SfImage(NSData data)
Parameters
Type |
Name |
Description |
Foundation.NSData |
data |
|
Declaration
public SfImage(NSData data, bool ignoresOrientation)
Parameters
Type |
Name |
Description |
Foundation.NSData |
data |
|
System.Boolean |
ignoresOrientation |
|
Declaration
public SfImage(NSUrl url)
Parameters
Type |
Name |
Description |
Foundation.NSUrl |
url |
|
Declaration
public SfImage(IntPtr handle)
Parameters
Type |
Name |
Description |
System.IntPtr |
handle |
|
Declaration
public SfImage(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
Declaration
public SfImage(string fileName, bool lazy)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
System.Boolean |
lazy |
|
Methods
Declaration
public static NSImage ImageNamed(NSImageName name)
Parameters
Type |
Name |
Description |
AppKit.NSImageName |
name |
|
Returns
Declaration
public static NSImage ImageNamed(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns