[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.WIC.BitmapScaler

Class BitmapScaler

Namespace
GrapeCity.Documents.DX.WIC
Assembly
GcDocs.DX.Windows.dll

IWICBitmapScaler

[Guid("00000302-a8f2-4877-ba0a-fd2b6645fb94")]
public class BitmapScaler : BitmapSource, IDisposable, IUnknown
Inheritance
object
BitmapScaler
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

BitmapScaler(IntPtr)

Initializes a new instance of the BitmapScaler class.

public BitmapScaler(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(ImagingFactory)

Initializes a new instance of the BitmapScaler class.

public static BitmapScaler Create(ImagingFactory factory)

Parameters

factory ImagingFactory

The factory.

Returns

BitmapScaler

Initialize(BitmapSource, int, int, BitmapInterpolationMode)

HRESULT IWICBitmapScaler::Initialize([In] IWICBitmapSource* pISource,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] WICBitmapInterpolationMode mode)

public void Initialize(BitmapSource sourceRef, int width, int height, BitmapInterpolationMode mode)

Parameters

sourceRef BitmapSource
width int
height int
mode BitmapInterpolationMode

Operators

explicit operator BitmapScaler(IntPtr)

Performs an explicit conversion from System.IntPtr to BitmapScaler.

public static explicit operator BitmapScaler(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

BitmapScaler