←Select platform

HorizontalAlignment Property

Summary

Gets or sets the horizontal alignment to use when calculating the final position and size of the printed object in the destination rectangle.

Syntax

C#
VB
C++
public HorizontalAlignment HorizontalAlignment {get; set;}
Public Property HorizontalAlignment As HorizontalAlignment
public: 
property HorizontalAlignment HorizontalAlignment { 
   HorizontalAlignment get(); 
   void set (    HorizontalAlignment ); 
} 

Property Value

The horizontal alignment to use when calculating the final position and size of the printed object in the destination rectangle. Default value is HorizontalAlignment.Left.

Remarks

The following properties control how the object being printed is aligned and stretched inside Destination:

Example

For an example, refer to PrinterHelper.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Controls Assembly
Click or drag to resize