共用方式為


NSImageRep.AsCGImage(CGRect, NSGraphicsContext, NSDictionary) 方法

定義

[Foundation.Export("CGImageForProposedRect:context:hints:")]
public virtual CoreGraphics.CGImage AsCGImage (ref CoreGraphics.CGRect proposedDestRect, AppKit.NSGraphicsContext context, Foundation.NSDictionary hints);
abstract member AsCGImage :  * AppKit.NSGraphicsContext * Foundation.NSDictionary -> CoreGraphics.CGImage
override this.AsCGImage :  * AppKit.NSGraphicsContext * Foundation.NSDictionary -> CoreGraphics.CGImage

參數

proposedDestRect
CGRect
hints
NSDictionary

傳回

屬性

適用於