ImageHelper.PixelFormatFromDrawingPixelFormat Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function PixelFormatFromDrawingPixelFormat ( _
format As PixelFormat _
) As PixelFormat
public static PixelFormat PixelFormatFromDrawingPixelFormat(
PixelFormat format
)
public:
static PixelFormat PixelFormatFromDrawingPixelFormat(
PixelFormat format
)
static member PixelFormatFromDrawingPixelFormat :
format:PixelFormat -> PixelFormat
public static function PixelFormatFromDrawingPixelFormat(
format : PixelFormat
) : PixelFormat
Parameters
- format
Type: System.Drawing.Imaging.PixelFormat
Return Value
Type: System.Windows.Media.PixelFormat
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.