LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property Value

An Leadtools.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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also