Leadtools.ImageProcessing.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AsFrame Property
See Also 
Leadtools.ImageProcessing.Effects Namespace > ResizeRegionCommand Class : AsFrame Property



Gets or sets a value that indicates whether to create a frame associated with the resized image region.

Syntax

Visual Basic (Declaration) 
Public Property AsFrame As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ResizeRegionCommand
Dim value As Boolean
 
instance.AsFrame = value
 
value = instance.AsFrame
C# 
public bool AsFrame {get; set;}
C++/CLI 
public:
property bool AsFrame {
   bool get();
   void set (bool value);
}

Return Value

Value that indicates whether to create a frame associated with the resized image region. If this property is true, then the command creates a frame with the thickness set in the Dimension property for the resized region. If the Type property is ResizeRegionCommandType.ExpandRegion, the frame created will exist outside the boundaries of the resized region. If the Type property is ResizeRegionCommandType.ContractRegion, the frame will be within the boundaries of the resized region. If this property is false then the command resizes the region only, and does not create a frame.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also