Leadtools.Services.Raster.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ResizeMode Property
See Also 
Leadtools.Services.Raster.DataContracts Namespace > RasterConvertOptions Structure : ResizeMode Property



Determines how to align the resized image in the destination rectangle using the Width and Height properties.

Syntax

Visual Basic (Declaration) 
<DataMemberAttribute("ResizeMode")>
Public Property ResizeMode As RasterResizeMode
Visual Basic (Usage)Copy Code
Dim instance As RasterConvertOptions
Dim value As RasterResizeMode
 
instance.ResizeMode = value
 
value = instance.ResizeMode
C# 
[DataMemberAttribute("ResizeMode")]
public RasterResizeMode ResizeMode {get; set;}
C++/CLI 
[DataMemberAttribute("ResizeMode")]
public:
property RasterResizeMode ResizeMode {
   RasterResizeMode get();
   void set (RasterResizeMode value);
}

Return Value

A RasterResizeMode enumeration value that determines how to align the resized image.

Example

For an example, refer to RasterConvertOptions.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features