Leadtools.Windows.Printing Namespace > PrinterHelper Class : HorizontalAlignment Property |
public HorizontalAlignment HorizontalAlignment {get; set;}
'Declaration Public Property HorizontalAlignment As HorizontalAlignment
'Usage Dim instance As PrinterHelper Dim value As HorizontalAlignment instance.HorizontalAlignment = value value = instance.HorizontalAlignment
public HorizontalAlignment HorizontalAlignment {get; set;}
get_HorizontalAlignment();
set_HorizontalAlignment(value);
public: property HorizontalAlignment HorizontalAlignment { HorizontalAlignment get(); void set ( HorizontalAlignment value); }
The following properties control how the object being printed is aligned and stretched inside Destination:
HorizontalAlignment: The horizontal alignment to use.
VerticalAlignment: The vertical alignment to use.
ImageStretch: How the content should be stretched to fill the destination area.
For an example, refer to PrinterHelper.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2