LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Alignment Property
See Also 
Leadtools.Annotations Namespace > AnnPen Class : Alignment Property



The Alignment Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the System.Drawing.Drawing2D.PenAlignment for this AnnPen object.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Alignment As PenAlignment
Visual Basic (Usage)Copy Code
Dim instance As AnnPen
Dim value As PenAlignment
 
instance.Alignment = value
 
value = instance.Alignment
C# 
public virtual PenAlignment Alignment {get; set;}
C++/CLI 
public:
virtual property PenAlignment Alignment {
   PenAlignment get();
   void set (    PenAlignment value);
}

Property Value

A System.Drawing.Drawing2D.PenAlignment value that represents the alignment for this AnnPen object.

Example

For an example, refer to AnnPen.

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

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features