Accusoft.TwainPro9.Net
HorizontalAlignment Property




Gets and sets the horizontal alignment of the caption within the clipping rectangle.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<DefaultValueAttribute()>
<DescriptionAttribute("Controls the horizontal alignment of the caption within the clipping rectangle.")>
<BrowsableAttribute(False)>
Public Property HorizontalAlignment As HorizontalAlignment
'Usage
 
Dim instance As Caption
Dim value As HorizontalAlignment
 
instance.HorizontalAlignment = value
 
value = instance.HorizontalAlignment
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
[Description("Controls the horizontal alignment of the caption within the clipping rectangle.")]
[Browsable(false)]
public HorizontalAlignment HorizontalAlignment {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
[Description("Controls the horizontal alignment of the caption within the clipping rectangle.")]
[Browsable(false)]
public: __property HorizontalAlignment get_HorizontalAlignment();
public: __property void set_HorizontalAlignment( 
   HorizontalAlignment value
);
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
[Description("Controls the horizontal alignment of the caption within the clipping rectangle.")]
[Browsable(false)]
public:
property HorizontalAlignment HorizontalAlignment {
   HorizontalAlignment get();
   void set (    HorizontalAlignment value);
}

Property Value

A HorizontalAlignment enumeration value which contains horizontal alignment options to use for clipping the rectangle.
Remarks

The default value is HorizontalAlignment.Left.

The clipping rectangle is determined by the Clip and Area properties.

See Also

Reference

Caption Class
Caption Members
Clip Property
Area Property

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback