LEADTOOLS Image Processing (Leadtools.ImageProcessing.Effects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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);
}

Property 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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also