Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
HorizontalAlignMode Property
See Also 
Leadtools.WinForms Namespace > RasterImagePrinter Class : HorizontalAlignMode Property



Gets or sets a value to determine how to center the image horizontally in the print page.

Syntax

Visual Basic (Declaration) 
Public Property HorizontalAlignMode As RasterPaintAlignMode
Visual Basic (Usage)Copy Code
Dim instance As RasterImagePrinter
Dim value As RasterPaintAlignMode
 
instance.HorizontalAlignMode = value
 
value = instance.HorizontalAlignMode
C# 
public RasterPaintAlignMode HorizontalAlignMode {get; set;}
C++/CLI 
public:
property RasterPaintAlignMode HorizontalAlignMode {
   RasterPaintAlignMode get();
   void set (RasterPaintAlignMode value);
}

Return Value

An RasterPaintAlignMode enumeration value that determine how to center the image horizontally in the print page.

Example

For an example, refer to RasterImagePrinter and ImageRectangle.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also