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;} |
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