{description}
{excerpt}Aligns a [Picture|Picture] with the specified [alignment|Alignment].{excerpt}
{signature:C#}
 public void Align(Alignment alignment)
{signature}{signature:vb.net}
Public sub Align(ByVal alignment As Alignment)
{signature}
{parameters}
{param:alignment}An [Alignment|Alignment] value representing the desired alignment of the {{Picture}}.{param}
{example}
{code:csharp|title=C#}
 
          pic.Align(Alignment.Center);

{code}
{code:vbnet|title=vb.net}

          pic.Align(Alignment.Center)

        {code}
{example}