LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
BackgroundImageLayout Property
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : BackgroundImageLayout Property



Gets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration.

Syntax

Visual Basic (Declaration) 
<SRDescriptionAttribute("The background image layout used for the component.")>
<LocalizableAttribute(True)>
<SRCategoryAttribute("Appearance")>
<DefaultValueAttribute()>
Public Overridable Property BackgroundImageLayout As ImageLayout
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim value As ImageLayout
 
instance.BackgroundImageLayout = value
 
value = instance.BackgroundImageLayout
C# 
[SRDescriptionAttribute("The background image layout used for the component.")]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Appearance")]
[DefaultValueAttribute()]
public virtual ImageLayout BackgroundImageLayout {get; set;}
C++/CLI 
[SRDescriptionAttribute("The background image layout used for the component.")]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Appearance")]
[DefaultValueAttribute()]
public:
virtual property ImageLayout BackgroundImageLayout {
   ImageLayout get();
   void set (    ImageLayout value);
}

Property Value

One of the values of System.Windows.Forms.ImageLayout (System.Windows.Forms.ImageLayout.Center , System.Windows.Forms.ImageLayout.None, System.Windows.Forms.ImageLayout.Stretch, System.Windows.Forms.ImageLayout.Tile, or System.Windows.Forms.ImageLayout.Zoom). System.Windows.Forms.ImageLayout.Tile is the default value.

Exceptions

ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe specified enumeration value does not exist.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features