ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearProcessing Class : ResizeCanvas Method |
Nothing
in VB NET) results in black background.
'Declaration Public Shared Sub ResizeCanvas( _ ByVal page As ImGearPage, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal offsetX As Integer, _ ByVal offsetY As Integer, _ ByVal background As ImGearPixel _ )
'Usage Dim page As ImGearPage Dim width As Integer Dim height As Integer Dim offsetX As Integer Dim offsetY As Integer Dim background As ImGearPixel ImGearProcessing.ResizeCanvas(page, width, height, offsetX, offsetY, background)
public static void ResizeCanvas( ImGearPage page, int width, int height, int offsetX, int offsetY, ImGearPixel background )
public: static void ResizeCanvas( ImGearPage* page, int width, int height, int offsetX, int offsetY, ImGearPixel* background )
public: static void ResizeCanvas( ImGearPage^ page, int width, int height, int offsetX, int offsetY, ImGearPixel^ background )
Nothing
in VB NET) results in black background.Use ImGearProcessingVerifier.CanApplyResizeCanvas method to check whether the operation can be performed on the specified image.